Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Layer Position value at Marker?

  • Layer Position value at Marker?

    Posted by Kevin Snyder on April 13, 2018 at 7:28 pm

    If I have two layers (Layer One and Layer Two), is it possible to place an expression on Layer One’s position to match Layer’s Two Position value based on a marker with a specific comment that is on Layer One?

    Kevin Snyder replied 8 years, 1 month ago 2 Members · 3 Replies
  • 3 Replies
  • Kevin Snyder

    April 13, 2018 at 7:35 pm

    Also, as Layer Two animates the position value, the value for position for Layer One remains the same….whatever the value is at the time of the marker.

  • Dan Ebberts

    April 13, 2018 at 8:05 pm

    Something like this maybe:


    try{
    t = marker.key("comment").time;
    }catch(e){
    t = 0;
    }
    thisComp.layer("Layer 2").position.valueAtTime(t)

    Dan

  • Kevin Snyder

    April 13, 2018 at 9:06 pm

    Awesome! Thanks, Dan. I appreciate it. Works perfectly.

    Kevin

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