Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Delay start time for mulitples comps randomly

  • Delay start time for mulitples comps randomly

    Posted by Brett Harrison on November 15, 2024 at 2:23 pm

    Hi, I a complete newbie to AE and expressions. I have 24 comps and I want them all to start playing at random times but I’m not sure how to do this. Hopefully this makes sense, any help would be greatly appreciated.

    Dan Ebberts
    replied 3 weeks, 6 days ago
    2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    November 15, 2024 at 5:29 pm

    So do you have these comps as layers in a main comp and you want each layer to start at a random time? If so, you’d enable Time Remapping for each of those comp layers and apply this Time Remap expression (which will give each one a random start time between 0 and 5 seconds):

    minStart = 0; // min start time (seconds)
    maxStart = 5; // max start time (seconds)
    seedRandom(index,true);
    tStart = random(minStart,maxStart);
    Math.max(time - tStart,0);

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