Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Parenting layer to puppet pin with “To_world”

  • Parenting layer to puppet pin with “To_world”

    Posted by John Winthrop on May 28, 2017 at 12:36 am

    I did this a long time ago and can’t remember exactly how.

    I have a puppet pin on one layer, and I want to parent another layer to that puppet pin relative to the composition they are both in. I remember it had something to do with the “to_world” expression or something along those lines but I can’t seem to get it to work.

    Again, I just want the position of one layer to follow the position of a single puppet pin of a different layer.

    John Winthrop replied 8 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    May 28, 2017 at 5:05 am

    Something like this should work:

    L = thisComp.layer(“Puppet”);
    L.toComp(L.effect(“Puppet”).arap.mesh(“Mesh 1”).deform(“Puppet Pin 1”).position);

    Dan

  • John Winthrop

    May 28, 2017 at 4:16 pm

    Dan does it again. Thank you!

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