Thanks Todd, that’s what I was afraid of. Let me rephrase and if you can think of another way to do this then great. If not, thanks anyway.
I have a layer in motion powered by an expression, not keyframes. I need it to start its motion over and over again at intervals. So every X number of frames, it should repeat the motion. X value is based on a slider control input.
Here’s what I have so far:
cycleEnd is the time (in seconds) that the motion should start over
motion = (time * 30) * -thisComp.height; //Moves the layer one comp height every frame
if (time > cycleEnd)
{ yVal = ((time - cycleEnd) * 30) * -thisComp.height }
else { yVal = motion }
value + [value[0], yVal]
After Effects templates – lens flares, light leaks, old film effects, digital glitches, VHS glitches, and more: https://CreationEffects.com
Social Media Profiles