Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Control keyframes with marker

  • Control keyframes with marker

    Posted by Henri Yates on June 2, 2021 at 3:20 pm

    Hello,

    I have some keyframe at the end of a comp layer which I will extending very often so I want something which can help move the keyframes around with MARKER so whenever I extend the comp layer to say 20 minutes, I can move the MARKER way to the 19th minute or something.

    Any help or suggestion please?

    Henri Yates replied 4 years, 11 months ago 2 Members · 4 Replies
  • 4 Replies
  • Walter Soyka

    June 2, 2021 at 6:21 pm

    There might be easier/better ways to approach this. Can you share a screenshot or an AEP with the keyframes you’re trying to automate so we can get a better sense of what exactly needs to happen?

  • Henri Yates

    June 3, 2021 at 7:02 am

    Here’s a screenshot please….

  • Walter Soyka

    June 3, 2021 at 2:35 pm

    If you were to precompose that, you could use a protected region to keep your animation together at the end of the clip so you’d only have to drag the end of the comp out.

    When you have a protected region on one comp that’s nested into another, dragging the handles at the beginning or end of the layer does an automatic time stretch instead of a trim — but any protected regions are preserved.

    https://helpx.adobe.com/after-effects/using/responsive-design.html

    Failing that, applying this expression to every keyframed property should have them start their animations at the time of the first marker on the layer, then run straight through:

    try {

    if (time >= thisLayer.marker.key(1).time) {

    thisProperty.valueAtTime(thisProperty.key(1).time + time - thisLayer.marker.key(1).time);

    } else {

    valueAtTime(thisProperty.key(1).time);

    }

    } catch (err) {

    value;

    }

  • Henri Yates

    June 3, 2021 at 5:25 pm

    Thanks

    I will try it out

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