-
Turning on and off an effect via expressions
As the subject says, I want to turn on/off effects with a checkbox
I have on the checkbox
if(thisComp.layer(“Pen”).effect(“Pen Sketch”)(“Checkbox”)==1) comp(“Pre”).Layer(“Pen”).Effect(“Brush Strokes”).active=1 else comp(“Pre”).Layer(“Pen”).Effect(“Brush Strokes”).active=0The checkbox works, just doesn’t turn off the effect.