Using expression control to turn effect on and off

Moderators: Disciple, zlovatt

Post Reply
perpen
Posts: 3
Joined: February 9th, 2008, 5:39 am

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.
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

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
Post Reply