Copy link to clipboard
Copied
I thought I would be able to find an example expression but I'm having trouble finding a way to have a null object move a set amount; let's say 10 pixels, then pause for 5 frames, then move 10 pixels, then pause and repeat. Kind of like how a typewriter would move in slow motion. Hope you can help.
If you need it in that static rhytm, you can also just keyframe the jump/wait phase and use
loopOut("offset");
expression.
*Martin
Copy link to clipboard
Copied
I found a good example incase anyone wants to do the same thing:
// set freqency and distance
countFrames = time/thisComp.frameDuration;
freq = countFrames / 5;
jump = Math.round(freq);
newX = jump * -20;
// Create Array
value + [newX,0,0]
Copy link to clipboard
Copied
If you need it in that static rhytm, you can also just keyframe the jump/wait phase and use
loopOut("offset");
expression.
*Martin
Copy link to clipboard
Copied
Cool thanks, didn't know about that one. Looks handy.