hi,
the problem is that the expression you wrote returns only one value. the position property requires two (x and y).
may be this is a solution for you:
add two expression slider controls to the layer which you wish to wiggle.
name the first one “wiggle” and apply the wiggle expression and adjust the values.
name the second one “factor”. this slider will control the amount of wiggle added
to the position property.
now add this expression to the position property:
w = effect(“wiggle”)(“Slider”); //retrieves the wiggle
f = effect(“factor”)(“Slider”); //amount of wiggle
[position[0] + (w * f), position[1] + (w * f)]
the last step is classic keyframing. set the factor value to zero where no wiggle should
be applied and set a keyframe. go to the time where the wiggle should have an effect
and set the factor value to whatever you want.
the factor value gives you the full control over how wiggly the layer should behave.
cheers
eric