ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

loopOut("cycle") to reset on first frame of every second INCLUDING the second starting at 1:00

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
alex ezorsky
loopOut("cycle") to reset on first frame of every second INCLUDING the second starting at 1:00
on Aug 5, 2018 at 4:53:10 am

This has been driving me insane for a while and I've finally figured out how to frame the problem.

If I want a time re-mapped video to loop every second I need to set a keyframe at 0:00 and at 1:00. The problem this presents is that at 1:00 it will still show the value of that last keyframe when I really want it at that moment to reset and start over at 0:00. Strangely this setup doesn't do what I want for the first loop but does work for all the ones after. So my thought was I would make the loop end at 0:29 (in flat 30fps) and that way the next frame, 1:00 would be the reset. This works for the first loop, but throws off all the other loops since they are now compounding 29 frames instead of 1 full second.

I can't seem to get a loop that loops every second including the first loop.

I feel like there's got to be a simple solution to what must be a common problem.

Thanks!


Return to posts index

Dan Ebberts
Re: loopOut("cycle") to reset on first frame of every second INCLUDING the second starting at 1:00
on Aug 5, 2018 at 6:46:22 am

If you want it to loop every second, try this time remapping expression:

time %1


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]