Page 1 of 1

Using expression control to turn effect on and off

Posted: February 9th, 2008, 6:04 am
by perpen
Hi there,

I would like to use an expression control effect (checkbox) to turn on and off a set of other effects in other layers. Is that posible?, I have been trying to get information about if effect on/off is a linkable parameter but could't find anything on it.

Thanks for your time.

Re: Using expression control to turn effect on and off

Posted: February 9th, 2008, 12:06 pm
by Dan Ebberts
A lot of effects have an "amount" or "blend with original" parameter that you could control with an expression like this:

checkbox = effect("Checkbox Control")("Checkbox").value;
if (checkbox == 1) 100 else 0

Also, if you have a bunch of effects that you want to go on and off at the same time, you could apply the effects to an adjustment layer and apply the expression to opacity.

Dan