-
Staggering time remaps with an expression
Hey guys I’m trying to stagger time remaps of pre comps with an expression. The problem I’m having now is that i can’t figure out how to bring the pre comps to play from their first frame…
Right now there are circles that just scale up inside precomps (later their animation will be more complicated ) . I want to have a gradient in the main comp trigger the start of those circle comp layers and offset their animations from one another as the gradient goes from black to white in the main comp (like a delay effector would in C4D) right now it sort of works but not quite…the gradient does trigger them but brings their animations all to the current comp time instead of staggering their start times. Thanks in advance!
controlLayer = thisComp.layer("Control layer");
sampleSize = [1,1];
samplePoint= transform.position;
color= controlLayer.sampleImage(samplePoint,sampleSize);
x=color[0];T=time; //This is where I'm having trouble. I need to get this value to bring the time remap back to the first frame
if (x>0){
T;
}else{Time=0};
Sorry, there were no replies found.