Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Slider C = the middle value of Slider A and Slider B

  • Slider C = the middle value of Slider A and Slider B

    Posted by James Ronan on December 12, 2015 at 10:53 am

    Hello all.

    I have multiple sliders. A B C.

    trying to get Slider C to equal the middle value of Slider A and Slider B.

    E.g.

    Slider A = 0

    Slider B = 200

    Slider C = 100

    Not having much luck atm. Any help much appreciated! Thanks

    J

    James Ronan replied 10 years, 5 months ago 1 Member · 1 Reply
  • 1 Reply
  • James Ronan

    December 12, 2015 at 11:11 am

    Okay so I figured it out!

    A = effect(“SLIDER A”)(“Slider”);
    B = effect(“SLIDER B”)(“Slider”);
    Math.round((A+B)/2);

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