-
Simple scale expression but “Error: array piece can’t expand to more that 1 value”
Am I going mad? I’ve applied to following expression to shape layer/group/transform/scale.
I get “Error: array piece can’t expand to more that 1 value” on the first line.
If I arrange the expression to have [x,100]; on line one, and delete h=100; it works but x and y scale are returned as the slider multiplied with a wiggle (different wiggle for each).
Curious as to what’s up with this.
a=effect("Progress bar scale animation")("Slider")/100;
w=wiggle(50,100);
x=a*w;
h=100;[x,h];
**Edit with solution**
Answered my own question here, realised wiggle was returning an array. To fixed expression is (with some streamlining to remove the slider effect) is:Y=value[1];
X=value[0]/100;
W=wiggle(50,100)[0];[X*W,Y];
Sorry, there were no replies found.