-
Opacity ar 100% for certain values, if not then zero.
Hey guys, I’m sure this is pretty simple, but the searches I’ve done to find a solution are all close but not quite right. I’m trying to get a layer’s opacity to be 100% based off a slider scale in another comp. So for instance, My slider scale goes from 0-100. I want my layers opacity to be 100% from 20-50 on the slider scale. If it isn’t between there, I want the layers opacity to be 0%. I put what I’m trying to work with below. Any help would be much appreciated as usual. Thanks!
Current error I’m getting is “Illegal use of reserved word.”
slider = comp("yourcompname").layer("slidername").effect("Slider Control")("Slider");
t = linear(slider,20,50,100,100); else 0;
[t]John Jackowiak
Brand New Motion
jo*******@***il.com***Recent Work***