Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Scaling Expression

  • Scaling Expression

    Posted by Aaron Nowakowski on January 31, 2011 at 6:59 pm

    Does anyone have an expression for this? I have a null object that I’m animating the scale of (0 – 100). I want to have multiple layers whose scale value is parented to my null object, however each layer must scale up to a unique value (ie 0 -11). I then want to off-set the time of these layers so one comes in 20 frames later then the null’s keyframes.

    Can anyone help?

    Dan Ebberts replied 15 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    January 31, 2011 at 8:24 pm

    Based on the info provided, it will probably look like this:

    delay = 20*thisComp.frameDuration;
    s = thisComp.layer(“Null 1”).scale.valueAtTime(time – delay)[0];
    seedRandom(index,true);
    myMax = random(100);
    linear(s,0,100,[0,0],[myMax,myMax])

    Dan

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