Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions how to set an absolute position value on the position of a parented layer

  • how to set an absolute position value on the position of a parented layer

    Posted by Arne Münch on June 22, 2017 at 9:50 am

    Hi there

    I have the absolute position in a comp like
    abs_pos = [460,540];
    and I want a parented layer have exact this position.
    It must be really easy but I can´t figure it out. This on position doesnt´t work:

    abs_pos = [460,540];
    fromComp(abs_pos);

    If you change the layers scale or rotation, the position shifts.
    I am very thankful for any help..

    Arne Münch replied 8 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    June 22, 2017 at 1:13 pm

    Try this:

    abs_pos = [460,540];
    parent.fromComp(abs_pos);

    Dan

  • Arne Münch

    June 22, 2017 at 10:24 pm

    nice, thats it, I need to Reference to the parent layer space, not to its own..
    thanks so much..

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