Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Linking properties between comps

  • Linking properties between comps

    Posted by Geneviève Delisle on July 6, 2023 at 9:01 pm

    Hi there,

    I’m trying to link the position of a layer to the position of a null inside a precomp.

    The expression I currently have is:

    comp("comp.name").layer("layer.name").transform.position.value;

    It’s not working because it takes the position as if the precomp begin at the beginning of the main comp, which is not the case. How do I synch the current position at current time? Thanks!

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

    July 6, 2023 at 9:56 pm

    Generally, it should look like this:

    comp("Pre-comp").layer("Layer 1").position.valueAtTime(time - thisComp.layer("Pre-comp").startTime)

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