Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Parent of Parent Pos

  • Parent of Parent Pos

    Posted by Eric Sanderson on April 28, 2011 at 8:52 pm

    Im using a Beam effect to connect 2 different layers with a line. I usually pickwhip the start and end to the according layers positions, but in this case those layers are parented to a layer, thats also parented to another layer. I tried value + and manually put it in place but it didnt stay locked to it. How can i accomplish this?

    Eric Sanderson replied 15 years ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    April 28, 2011 at 8:58 pm

    This should do it:

    L = thisComp.layer(“your layer”);
    L.toComp(L.anchorPoint)

    Dan

  • Eric Sanderson

    April 28, 2011 at 9:23 pm

    i actually found that answer in my research before my post and i just get an “Expected” error. im supposed to replace “your layer” with the layer im trying to follow right? Even though that layer is also parented to another layer? Either way i tried i just get the Expected error.

  • Eric Sanderson

    April 28, 2011 at 9:24 pm

    I figured it out thanks.

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