Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions how can I fix this expression?

  • how can I fix this expression?

    Posted by Chris Ruckert on January 14, 2009 at 6:51 pm
    x = wiggle(7,15);
    y = 100;
    [x, y]; 
    

    simple, I need to wiggle the X position value and keep the Y constant.
    I think I have the syntax of this expression wrong:

    x = wiggle(7,15);
    y = 100;
    [x, y];

    how can I fix?

    Dan Ebberts
    replied 17 years, 3 months ago
    2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    January 14, 2009 at 8:08 pm

    Like this:

    w = wiggle(7,15);
    y = 100;
    [w[0], y];

    Dan

  • Chris Ruckert

    January 15, 2009 at 5:50 pm

    than you kindly.

    one more question…

    If I want the expression to read whatever the current value is for the y parameter (rather than 100) how would I modify that expression?

    thanks!

  • Dan Ebberts

    January 15, 2009 at 5:54 pm

    Like this:

    w = wiggle(7,15);
    [w[0], value[1]];

    Dan

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