-
Control Fx on off (or opacity) of several layers from slider control or checkbox
Hi! Im new here and I’m trying to make a template for myself and my team, and we have different color pallettes for different uses. I would like to control this different 4 color gradients (in each layer, backgorunds and several shape layers) from one layer, with a slider control or different checkbox controllers.
I was trying with something like this
– if (thisComp.layer(“GRADIENT”).effect(“Corporate”)(“Checkbox”) > 0) {100} else {0}. on the fx opacity expression. It works with one but it´ starts to fail once I add another checkbox controller for the second gradient.
or I would like to assign a specific range in the slider control to select one 4 Color Gradient (from its opacity) or another, but I didnt find the right expression…
slider = thisComp.layer(“GRADIENT”).effect(“Gradients”)(“Slider”);
if (slider < 0 || slider > 1) 100 else 0
Any ideas?
Thanks very much in advance
Nico E.