-
Layer visibility expression no longer working
I have used this expression hundreds of times:
x=thisComp.layer(“name of the layer”).active;
if
(x==1)
{0}
else
{0}
It’s supposed to lower the opacity of the layer it’s being applied to if another layer is active and raise it to 100 if the other layer is turned off. Basically, a layer switcher bypassing a checkbox control.
Today it stopped working, no error or anything it just does nothing.
Any ideas?