Using the link you posted for the original rotation code, I think I’m on the right track with this:
shiftAmount = 60
movingFrames = 1;
holdFrames = 30;
f = Math.round(time/thisComp.frameDuration);
period = Math.floor(f / (movingFrames + holdFrames))
phase = f%(movingFrames + holdFrames);
[shiftAmount * period + linear(phase,0,movingFrames,0,shiftAmount),85]
However, I have a feeling there’s a lot of redundant code?Namely period & phase, since my usage doesn’t involve rotation? Would you know how to streamline this?
My second question is how can I get the layer to start back at zero after it has moved 600px (ten loops)?
Thanks for the help!