-
Copy parent’s animation with a random delay
I’m trying to set up an animation that will have scale in many layers all at slightly different times.
A single layer has the actual keyframes, and the rest of the layers will copy the master layer’s animation but with a slight random delay.
My layers have this expression:
randomNumber = random(1,10)delay = framesToTime(randomNumber);
thisComp.layer("master").transform.scale.valueAtTime(time-delay)
But my random function is firing on every frame, creating an unintended jittery glitchy effect. How can I rewrite this so it will use a single random number for all frames?