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

-50%
-50%
00hrs : 00mins : 00sec
Happy HolidaysSale sitewide
Shop now

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.

-50%
-50%
00hrs : 00mins : 00sec
Happy HolidaysSale sitewide
Shop now


Our Bestsellers