Invert Opacity expression in After Effects

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  

Click here to receive more tips by email.

Get 10% off when you subscribe to our newsletter

By subscribing you agree to your email being stored and used to receive the emails in accordance to our Privacy Policy
descount