ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Checkbox = ON When slider between 0 - 10 expression?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
James RonanCheckbox = ON When slider between 0 - 10 expression?
by on Dec 11, 2015 at 8:25:54 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


Return to posts index


Walter SoykaRe: Checkbox = ON When slider between 0 - 10 expression?
by on Dec 11, 2015 at 8:52:22 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 [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

James RonanRe: Checkbox = ON When slider between 0 - 10 expression?
by on Dec 11, 2015 at 9:02:37 pm

Thanks for the quick response and that works perfectly!

Thank you!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]