Page 1 of 1

making layers active / inactive

Posted: May 15th, 2008, 7:35 am
by ilmeri
Hi,

Is it possible to make a layer active / inactive with expressions using the checkbox-expression control effect?

I have layers in my comp that make up groups like head, torso etc, and i'm trying to make it easier switching particular
groups on / off, so i can render one group at the time.

thanks!

-ilmeri

Re: making layers active / inactive

Posted: May 15th, 2008, 7:53 am
by Paul Tuersley
You can't use an expression to turn the layer's eyeball on/off, but you can use it to control a layer's opacity. The Checkbox Control returns a value of 0 when unchecked and 1 when checked, so you could use and expression like this on the Opacity property:

value * thisComp.layer("control layer").effect("Checkbox Control")("Checkbox");