Hi Kevin,
sorry for the trouble,
I have a question for this thread. I use AECC2017 and I copy your script, and this works great!
So, I want that the opacity of my Precomp is “turn on” if the slider is less or equal of 0,02 and I used your Script like this:
ctrl = thisComp.layer(“Master”).effect(“Slider Control”)(“Slider”);
if ( Math.floor( ctrl ) <= 0,02 ) 100 else 0;
but still not work !
Can you help me?
Thanks for your time