-
Affecting opacity of a layer with the xposition of a null
Hi at the moment i have a script which effects the opacity of a layer to be at 100% opacity when the xposition of a null is at 3. However when the null position is on 4 i would like the opacity of the layer to go back to 0% opacity.
this is the script i have currently. Its placed in the layers opacity.
x = thisComp.layer("Null").transform.position[0]
linear (x, 2, 3, 100, 0)