How to use checkbox expressions in After Effects
Written on 15 September 2013, 01:42pm under Quick Tips
You will often find yourself toggling the visibility of layers in After Effects. This can get really cumbersome and hazardous to click all those little eye icons in deeply nested compositions. Having a controller layer on top of everything with some checkbox expressions can really help organizing everything out.
Select the layer you’d want to toggle and add this expression in its opacity property.
(comp("the-comp-name").layer("the-layer-name").effect("the-checkbox-effect")("Checkbox") == 1 ? value : 0)
This layer will then show when the checkbox is checked. To invert the effect, just invert the
value and the
Most layers, when hidden, will not add time to renders and RAM Previews although sometimes, mostly when the hidden layer has expressions, it will still be processed when rendering.
Written by Sébastien Lavoie (Published articles: 15)