value * effect("Control Name")("Checkbox"); // replace Checkbox Control with your checkbox control
β
thisComp.layer("Controls").effect("Control Name")("Checkbox") * value;
Apply to opacity property of a layer. Change name of layer to start with [1,2,3] to match the Dropdown control.
Generate a random number
How to use the Composition Width & Height expression to center and scale a layer
Get Β After Effects tips & tricksdelivered to your inbox