As I’ve discussed before, loop expressions are extremely useful timesavers in After Effects. The Pingpong expression allows a loop to go back and forth between the first and last keyframe. This repeats indefinitely. The expression is written as follows:


Check out this short tutorial video to see it in action: