Expression Copied to Clipboard! 🗂
← Back to Expressions

Delay - After Effects Expression

Delay property by certain number of frames

Delay

delay = 5; //number of frames to delay
d = delay*thisComp.frameDuration*(index - 1);
thisComp.layer(1).rotation.valueAtTime(time - d)

Copied to Clipboard!
delay = 5; //number of frames to delay
d = delay*thisComp.frameDuration*(index - 1);
thisComp.layer(1).rotation.valueAtTime(time - d)

DELAY FOR SPECIFIC LAYER

lay = thisComp.layer("SquareMoves")
delay = 1; //number of frames to delay
d = delay*thisComp.frameDuration;
lay.rotation.valueAtTime(time - d)

Credit

AfterEffects_Tricks collected by Jr Canest