ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

# wiggle my Y

FAQ   •   VIEW ALL
 wiggle my Y on Jul 25, 2006 at 12:32:08 pm

anyone .
please can you help with this expression..
I have looked at already posted answers and while they help to a great extent i dont seem to be able to find a way to wiggle only the y axis.. I am probably being thick but i am new to expressions and any help most gtreatly recieved ,,

cheers

big love to one and all

chris

 Re: wiggle my Yon Jul 25, 2006 at 1:04:23 pm

This is one way:

[value[0],wiggle(5,30)[1]]

Dan

 Re: wiggle my Yon Jul 25, 2006 at 1:43:16 pm

Thank you...
But how on earth do you work it out ?????????????????????????

 Re: wiggle my Yon Jul 25, 2006 at 2:13:13 pm

Hi,

What's happening in the expression is that when you have a animatable element that can take more that one value, you must express it in the form [x,y]; specifically the final values must be enclosed in [] and separated by a ,

So what is happening in Dan's expression is he is telling the first (X) value to remain the same while applying a wiggle expression to the second (Y) value.

If you needed to return three values from the expression, it might be in the form of [x,y,z]

Hope this helps,

Lars

 Re: wiggle my Yon Jul 25, 2006 at 3:22:03 pm

Thanks
I will sit down and work my way through it when i am finished here..

Any good resourese out there for learning the basics ??

 Re: wiggle my Yon Jul 26, 2006 at 4:03:59 pm

Hi,

Here is a site that discusses some useful information on expressions and some math that can be used in expressions...

http://www.jjgifford.com/expressions/index.html

Lars