Skip to main content

Expressions used

For the Shape Layer

s=thisComp.layer("TEXT")
x=s.sourceRectAtTime().width;
y=s.sourceRectAtTime().height;
[x,y]

Expression for Precomp

//Position
delayFrames = thisComp.layer("control").effect("delayvalue")("Slider")
delay = framesToTime(delayFrames);
thisComp.layer(index-1).transform.position.valueAtTime(time-delay)

//Scale
s=thisComp.layer("control").effect("ScaleValue")("Slider")
delayFrames = thisComp.layer("control").effect("delayvalue")("Slider")
delay = framesToTime(delayFrames);
thisComp.layer(index-1).transform.scale.valueAtTime(time-delay)+[s,s]


//Rotation
delayFrames = thisComp.layer("control").effect("delayvalue")("Slider")
delay = framesToTime(delayFrames);
thisComp.layer(index-1).transform.rotation.valueAtTime(time-delay)

 

Author Nawaz Alamgir

More posts by Nawaz Alamgir

Leave a Reply