Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions tracking child one dimension

  • tracking child one dimension

    Posted by Daniel Renda on April 23, 2009 at 11:37 pm

    Hi i was wondering if any one could help me with this… I am trying to track a child layers Y position only,

    here is an example of the code im using

    c=thisComp.layer(“rod”);
    c.toWorld(thisComp.layer(“rod”).transform.position[1]);

    sadly i get an error.
    help is much appreciated

    Dan Ebberts replied 17 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    April 24, 2009 at 1:53 am

    Probably like this:

    c=thisComp.layer(“rod”);
    y = c.toWorld(c.anchorPoint)[1];
    [value[0],y]

    Dan

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