By wiggle generates values for both X and Y, that’s why you are getting the “array piece can’t expand to more than one value” error…IE, in your expression when you say wiggle, it’s comes up [2,7] which you are defining as X. You are then trying to make a scale paramter of that is this [2,7, 2,7].
So you need to tell AE, to just use one of the parameters, in your case, the first one. Here’s how it should look:
x = ease(time,wiggle(.5,2.7),wiggle(.5,2.7))[0];
[x,x]
The [0] tells AE to use the first value produced by the wiggle(AE starts with 0 as the first index number). You could use [1] to get the second or if you had a Z space [2].
Johnny Cuevas, Editor
Thinkck.com
“I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
—THOMAS EDISON on inventing the light bulb.