Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Stopping a loopOut() expression at a certain frame

  • Stopping a loopOut() expression at a certain frame

    Posted by Marcel Birkel on March 22, 2019 at 11:36 am

    Hello Creative Cow community,

    I’m working at the moment on a train animation in After Effects.

    So I looped the rails and stuff with the “loopOut()” expression.
    (I looped them because I don’t wanted a 5000000 pixel long comp lol)

    What I want to do is that the loop stops, at e.g., 2000 frames smoothly (easy-ease).

    I tried to use the freeze-frame effect, but it won’t work and keeps looping.

    Taking a screenshot of the comp and put it on the place where the loop should stop works, but it’s too abrupt.

    I also tried the solution from there -> https://forums.creativecow.net/docs/forums/post.php?forumid=227&postid=20810&univpostid=20810&pview=t
    But it won’t work for me.

    Can anyone help me please?

    Thanks in advance,

    Marcel

    loopOut()

    Dan Gehin replied 5 years, 9 months ago 3 Members · 2 Replies
  • 2 Replies
  • Oleg Pirogov

    March 28, 2019 at 11:33 am

    >I also tried the solution from there -> https://forums.creativecow.net/docs/forums/post.php?forumid=227&postid=20810&univpostid=20810&pview=t
    Well that quite an elegant solution, which in your case I guess will look smth like that:
    t = timeToFrames(2000);
    fadeTime = 1;
    ease(time,t,t+fadeTime,loopOut(),value)

    I would suggest to try to figure out why it doesn’t work in your case, but anyway you can always go rigth-click on looped-out property -> Keyframe Assistant -> Convert Expression to Keyframes and do all the things manually.

  • Dan Gehin

    July 30, 2020 at 5:55 pm

    t = timeToFrames(2000);
    fadeTime = 1;
    ease(time,t,t+fadeTime,loopOut(),value)

    The conversion is backwards: timeToFrames should be framesToTime

    t = framesToTime(2000);
    fadeTime = 1;
    ease(time,t,t+fadeTime,loopOut(),value)

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