-
X, Y scaling
Hi there, I’m fairly new to expressions and I’m having a problem due to not properly understanding the syntax.
I need to use a null object slider to control the multiplication factor of a scale parameter, when I hooked it up it’s only scaling the x axis. I understand this is because it’s an array function but I can’t work out how to declare it properly.
Can anybody correct this for me?
This is the exp that works with just the X axisvalue+(20*thisComp.layer("Rig 2").effect("L - R")("Slider"))
This is my attempt at declaring the same value for the X & Y scale axis.
x = value+(20*thisComp.layer("Rig 2").effect("L - R")("Slider"));
y = value+(20*thisComp.layer("Rig 2").effect("L - R")("Slider"));
[x,y]