After Effects Expression (Quick Tip) : Wiggle and Loop a single parameter

I’d been trying for over a year to put two different expressions on a single parameter in After Effects. My favorite expressions being ‘Wiggle’ and ‘Loop’. Well, I figured it out and here’s the tut. Enjoy!

Here’s the code:

L = loopOut (“cycle” ) ; //you can also put “pingpong” instead of “cycle” for your loop
W = wiggle ( 3, 30 ) ; //3 is the times per second, 30 is the number of pixels it will vacillate
L + W – value ;


If you want to see how it works, watch the tutorial.