Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions “Stopping” a delay effect?

  • “Stopping” a delay effect?

  • Anna Karlsson

    January 28, 2022 at 2:58 am


    I’ve animated a comp that moves between four position keyframes and repeats a couple of times through loopIn.
    The problem is that I have six additional comps that I want to follow the original comp like a train. Using the delay expression I get the effect I’m after during the loop, but when loopIn reaches its end the “leader” stops and the remaining 6 comes crashing into it.

    Is there a way to stop the remaining 6 in their tracks when the first one stops? Almost as if it were a train with connected carriages? So that they are divided evenly over the four position keyframes, and not colliding into the last?

  • Filip Vandueren

    January 28, 2022 at 10:58 am

    The easiest fix is to precompose leader and followers and timeremap this to achieve the looping and stopping.

  • Anna Karlsson

    January 28, 2022 at 12:14 pm

    But that will affect the timing of the animation in the precomps as well (right?), which I don’t want! :/

    I’ve tried the “follow the null” suggestion on this page:, and it positions the followers as I want but I can’t get them to follow the leader. Could it be because it’s made especially for 3D-layers and I’m working with 2D?

  • Filip Vandueren

    January 28, 2022 at 4:14 pm

    Yes, that’s true: I didn’t account for the fact the individual layers were animating.

    Dan’s expressions should work for 2D, but I’m not sure if they work with loopIn().

  • Andrei Popa

    January 29, 2022 at 9:38 am

    I think you can put an if with time you want them to stop. Something like this:

    if(time <= endAnimation){
    //the expression you are currently using

Viewing 1 - 5 of 5 posts

Log in to reply.

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