
This expression alternates the opacity of a layer with the opacity of another layer. It’s a powerful tool for creating transitions and revealing or concealing content based on the opacity of other layers. Apply it to the Opacity property.
t = thisComp.layer(“TargetLayer”).transform.opacity // Pickwhip the layer you want to invert
