Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions changing the slider control range for another parameter!!

  • changing the slider control range for another parameter!!

  • amin mashhadi

    May 19, 2020 at 2:47 pm

    Hi everyone
    Im trying to make an stopwatch that goes from 5.2 to 0! and I’ve done that with slider control, no big deal! but i want to make a circle that shows this, and i’ve created a path with trim path. now how should I parent the end parameter of trim path to the slider control of my numbers, to get a range of 100 to zero instead of 5.2 to 0 and have a full circle!
    I’m sorry I know it’s probably something simple but I’m a noobie! and thank you for your further answers! 🙂

  • Dan Ebberts

    May 19, 2020 at 5:59 pm

    Something like this should work:

    s = thisComp.layer(“layer with slider”).effect(“Slider Control”)(“Slider”);
    linear(s,0,5.2,0,100)

    Dan

Viewing 1 - 2 of 2 posts

Log in to reply.

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