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
making layers active / inactive
Moderator: byronnash
-
- Posts: 704
- Joined: June 5th, 2004, 7:59 am
- Location: London, UK
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");
value * thisComp.layer("control layer").effect("Checkbox Control")("Checkbox");