-
Simple Rotation Controls Opacity Expression?
wheel = comp("Screen").layer("PARENT").transform.rotation; //this is the layer for rotation// if(304 < wheel < 18) {value=100} else{value=0};I really don’t know much coding, but I have a request for you experts.
I am trying to have the rotation of a layer control the opacity of another layer, but only between certain values.
Example:
I want (layer) to be 100% opacity between the values of 304 and 20 (in rotation value of layer 2). Everywhere else, the opacity = 0.
This is what I have but it doesnt work at all lol. Please help!!