Code: Select all
fps= 24;
t=time * fps;
move= t * thisComp.height;
reset=Math.floor(move/thisComp.height);
moveReset=move-reset*thisComp.height;
[thisProperty[0],thisProperty[1] + moveReset]
Code: Select all
fps= effect("Slider Control")("Slider");
t=time * fps;
move= t * thisComp.height;
reset=Math.floor(move/thisComp.height);
moveReset=move-reset*thisComp.height;
[thisProperty[0],thisProperty[1] + moveReset]
Finally to add some flicker, add this expression to the Opacity:
Code: Select all
wiggle (effect("Slider Control")("Slider"), 20)