Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Reverse input values for Expression slider

  • Reverse input values for Expression slider

    Posted by Andre Ash on March 1, 2016 at 10:39 pm

    Hi There,

    I’m trying to get the slider to control the rotation of a layer but I want
    the rotation to be a 90 when slider value = 0
    and the rotation to be 36 when the slider value = 36

    I can set min and max but I can’t workout how to reverse the inputs.

    Dan Ebberts replied 10 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    March 2, 2016 at 6:59 am

    This should work:

    s = effect(“Slider Control”)(“Slider”);
    linear(s,0,36,90,36)

    Dan

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