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
linear(t, 0, value, 100, 0)*replace “TargetLayer” to your name of layer
Pro tip: Go to AEJuice Pack Manager – Expressions Pack to apply this expression in 1 click. Here are direct links for the latest plugin version:
Windows / macOS
linear(t, 0, value, 100, 0)*replace “TargetLayer” to your name of layer
Pro tip: Go to AEJuice Pack Manager – Expressions Pack to apply this expression in 1 click. Here are direct links for the latest plugin version:
Windows / macOS