Link a layer’s opacity to a checkbox control, allowing you to show or hide the layer based on the state of the checkbox. It’s an efficient way to toggle layer visibility and is applied to the Opacity property.
targetProperty = comp(“showOrHideWithCheckbox”).layer(“Controls”)(“ADBE Effect Parade”)(“Show/Hide”)(“ADBE Checkbox Control-0001”); // Pickwhip to your Checkbox Control
effectParade = targetProperty.propertyGroup(2);
v = targetProperty.value;