Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Checkbox = ON When slider between 0 – 10 expression?

  • Checkbox = ON When slider between 0 – 10 expression?

    Posted by James Ronan on December 11, 2015 at 8:25 pm

    Hello all!

    I’ve been trying to figure out how to get the Checkbox control to stay on when a slider control is between a certain set of numbers. 0 – 10.

    I can get it to work on one number with the following expression on the checkbox control (in this case the number is 4):

    thisComp.layer(“SLIDER”).effect(“Slider Control”)(“Slider”)==4

    I’ve tried lots of different combo’s but no luck

    any help much appreciated!!

    J

    James Ronan replied 10 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Walter Soyka

    December 11, 2015 at 8:52 pm

    (thisComp.layer("SLIDER").effect("Slider Control")("Slider")>=0) && (thisComp.layer("SLIDER").effect("Slider Control")("Slider")<=10)

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • James Ronan

    December 11, 2015 at 9:02 pm

    Thanks for the quick response and that works perfectly!

    Thank you!

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