Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Please, I need to trigger an animation speed with layer markers ..

  • Please, I need to trigger an animation speed with layer markers ..

    Posted by Othman Ahmed on November 17, 2020 at 10:04 pm

    How can I trigger an animation speed with layer markers? Like the speed duration of the incoming & the outcoming shape, Not the waiting duration between them.

    let’s suppose we have a simple box coming from the left of comp going to the right,

    Animated by 4 keyframes (1 & 2 for Starting, 2 & 3 mid waiting ,3 & 4 for Ending).

    And I need to trigger the speed of the whole animation with makers and time remapping.

    What expression should I use to achieve this result?

    Please Help

    Othman Ahmed replied 5 years, 6 months ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    November 17, 2020 at 10:47 pm

    Try this:

    m = marker;

    t = linear(time,m.key(1).time,m.key(2).time,key(1).time,key(4).time);

    valueAtTime(t)

  • Othman Ahmed

    November 18, 2020 at 7:39 am

    Thanks, bruh it’s working great ?

  • Othman Ahmed

    November 18, 2020 at 7:40 am

    Thank’s Dan, It’s working great. ?

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