Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Speeding up an animation with the help of sliders

  • Speeding up an animation with the help of sliders

    Posted by Samuel Hansen on February 23, 2023 at 5:15 pm

    I basically manually keyframed a simple scale down animation and would like to tie that to a slider, which is supposed to control, how fast the animation scales down. How would I go about that?

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

    February 23, 2023 at 5:25 pm

    A scale expression like this might work:

    pct = effect("Slider Control")("Slider")/100;
    val = value;
    if (numKeys > 1 && time > key(1).time){
    d = (time - key(1).time)*pct;
    val = valueAtTime(key(1).time + d);
    }
    val

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