Before you start
Use a simple shape’s Rotation property to understand how the end joins the beginning. No external script or plug-in is needed. A technically repeating animation is not necessarily a visually seamless one: inspect the join.
Reference version and screenshot provenance
Latest release in Adobe notes consulted on December 1, 2026: After Effects 27.0 (November 2026). Procedures are based on official help; labels can differ by language and version. They were not executed in an installed copy of After Effects during this preparation.
Images come from Adobe documentation, not a generated interface. Adobe does not consistently identify their exact build, so they are not represented as certified version 27.0 captures. Practice exercises are original JFL Media editorial content.

The Adobe screenshot could not be loaded. The tutorial remains available below.
View the original Adobe screenshot · Adobe Help
Adobe documentation screenshot; exact application build not confirmed.
Adobe product screenshot(s) reprinted with permission from Adobe.
Step-by-step method
Create the source movement
Use an asymmetric shape so its rotation is visible. Set Rotation to 0° at zero seconds and one complete turn, or 360°, at one second.
Open an expression
Alt-click the Rotation stopwatch on Windows or Option-click on macOS. The expression field appears while the keyframes remain in place.
Enter the code
Replace the field contents with loopOut("cycle") and click outside to commit. Use straight quotation marks, not typographic quotes.
Extend visibility
Ensure the composition and layer out point extend beyond the last keyframe. Preview several cycles.
Inspect the seam
Compare frames around one second. A complete rotation returns to the same orientation; a position moving only left to right will jump back unless you design a matching return.
loopOut("cycle")Practice exercise
Make a four-second continuous rotation. Then test a position loop with three keyframes: start, destination and return to start. Explain why these can join cleanly while a one-way path does not automatically make a seamless loop.
Check the result
- The expression is on the property containing the keyframes.
- No expression error is displayed.
- The join has been inspected across several repetitions.
Mistakes to avoid
- Pasting typographic quotes into the code.
- Applying the expression to an unsupported or unanimated property.
- Ending the layer at the final keyframe, leaving no time for repetition.
Related questions
Does the loop create new keyframes?
No. The expression calculates values after the animated segment. The original keyframes remain editable references.
Why is there a jump?
The first and last states do not match visually, or their speeds do not connect. Fix the source animation rather than hiding the problem with arbitrary settings.
Sources and version notes
- Adobe — Expression basics
- Adobe — Using the Expressions editor
- Adobe — Animation basics
- Adobe — After Effects — Release Notes
Sources consulted December 1, 2026. Screenshot credits and provenance are displayed below each image.
Adobe and After Effects are Adobe trademarks. JFL Media is an independent training provider; Adobe does not endorse this page.