Expression Copied to Clipboard! πŸ—‚
← Back to Expressions

Invert Opacity - After Effects Expression

Alternate opacity with the opacity of another layer.

Invert Opacity

t = thisComp.layer("Back").transform.opacity // Pickwhip the layer you want to invert
linear(t,0,value,100,0)

Copied to Clipboard!
t = thisComp.layer("Back").transform.opacity // Pickwhip the layer you want to invert
linear(t,0,value,100,0)

Use this expression to make one layer INVERT the opacity of another layer. When Layer A is 100, Layer B will be 0. Very useful for blinking animations.

Credit