Use Expressions to Loop – After Effects
If you want to loop your keyframe animations, use the expression loopOut(“PingPong”). This will continuously loop your animation until the end of your composition.
Here’s a keyframe animation that uses this expression: