Looping Layers Using Expressions
After Effects: Looping Layers Using Expressions
This guide will give you step-by-step instructions to looping layers in a composition using expressions.
Expressions allow you to do some very powerful things very easily, and there are some especially for looping layers.
Guide
- Create a simple animation on a layer using a couple of keyframes. The layer in the image has Rotation animated from 0 to 180 using two keyframes:
- Select the animated property (e.g. Rotation) and choose Animation > Add Expression
- Type loopOut("cycle") in the expression field and click outside the field to confirm:
- Trying playing or RAM Preview the composition and you will find that the layer will now loop until it ends by repeating the animation between the keyframes
Other variations to try
- loopOut("pingpong")
- loopOut("offset")
- loopOut("continue")
Tips
- Try searching After Effects Help for loopout - you will find more info about using the above expressions as well as many other exciting expressions to try out!
Links
Adobe TV video training for After Effects CS4
Adobe TV - where you can watch lots of videos on Adobe software
Tutorials on keying - removing part of a layer
Video Copilot video tutorials for After Effects
Adobe support for After Effects
page revision: 3, last edited: 02 Sep 2011 09:30