Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions translating negative values to positive

  • translating negative values to positive

    Posted by Rob Hindley on March 25, 2008 at 11:58 pm

    I am trying to create an expression slider which when increased simultaneously blows out the luminance values while desaturating the video. I’ve easily attached the glow parameter but when using Hue & Saturation the desaturation value is in the opposite direction (negative value)

    what expression do I need so the value works when the slider moves up in positive values?

    Gribble
    ::: Time flies like an arrow but fruit flies like a banana :::

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

    March 26, 2008 at 12:35 am

    Just put a minus sign in front of the slider value, like this:

    slider = -thisComp.layer(“Null 1”).effect(“Slider Control”)(“Slider”).value;

    (or multiply it by -1)

    Dan

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