Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects quick expression needed

  • quick expression needed

    Posted by Matt Stalker on April 14, 2005 at 6:51 pm


    I need an expression to wiggle the y position only. I can get a general wiggle this way…

    position.wiggle(5, 5, octaves = 1, amp_mult = .5, t = time)

    but I can’t seem to get the right syntax to isolate one dimension only. Can you help me?



    Matt Stalker
    Center City Film & Video

    Mike Clasby replied 19 years, 1 month ago 3 Members · 2 Replies
  • 2 Replies
  • Steve Roberts

    April 14, 2005 at 7:49 pm

    Here’s an old post, found by searching the COW under “wiggle” and “axis” — you can figure out how to apply it to a Y-axis wiggle. 🙂

    To wiggle on the X axis only, enter this in the layer’s position property expression field:


    You set up the wiggle expression, then substitute it for the first position value in the position array. The first(0) is X, the second(1) is Y and the third(2) is Z.

    You don’t have to use “foo”. It could be any word or character that doesn’t have another purpose in the expression language. You could use “blat”, “xwigg” or “zac” if you like.

    For more wiggling, go to the Adobe Studio Exchange.

    Hope that helps,

  • Mike Clasby

    April 14, 2005 at 7:55 pm

    An advanced search of “one axis only” lead to this:

    The above leads to a great tut, “Express Your Wiggle”.

    The expression to wiggle only the y axis would look like this:

    [position[0], position.wiggle(5,5)[1]]

    position.wiggle(5, 5, octaves = 1, amp_mult = .5, t = time)


    [position[0], position.wiggle(5,5,1,.5)[1]]

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy