Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Staggering time remaps with an expression

  • Staggering time remaps with an expression

    Posted by Brian Scott on July 2, 2015 at 2:35 pm

    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};

    Brian Scott replied 10 years, 10 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy