Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions expression link

  • Posted by Alex Harding on August 29, 2006 at 1:38 pm

    how can i link only the y axis of a position value to another value?

    when i use the link tool to create an expression that links the position value of an object to the rotation value of another, it links both axes, causing the object to move diagonally. Can anyone help me with the syntax to make the object only move up and down?
    many thanks,
    Alex

    Dan Ebberts replied 19 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    August 29, 2006 at 3:49 pm

    Like this:

    temp = thisComp.layer(“Red Solid 1”).transform.rotation;
    [value[0], temp]

    Dan

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