β Back to Expressions
Loop keyframes both forward and backwards in time!
Loop In and Out
How to use the LoopIn() and LoopOut() expressions together!
You may be familiar with the Loop Expressions to make your keyframes repeat over and over...
- Add LoopOut() to an animated property and your keyframes will repeat forever.
- Add LoopIn() to a property and your keyframes will repeat from the start of your composition till the current keyframe time.
But how do you combine these and create an infinite loop of keyframes with no beginning and no end?
Easy.
Just add this expression
loopIn() + loopOut() - value;
β
This is one of my most commonly used expressions, but for some reason, I always forget it. Now you can just copy/paste from this page and you're good to go.
If you're more of a video learner, here's a youtube short where I explain this:
More expressions you might like...
Credit
Get Β After Effects tips & tricks
delivered to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.