View all expressions
Motion

Automatic Fade In and Out Expression

Adds a fade in and fade out effect based on layer duration, without keyframes.


fade = 1;
fadeIn = (time-inPoint)/fade;
fadeOut = (outPoint - time)/fade;
if (time outPoint - fade){
ease(fadeOut,0,1)*value}else{
value
}

Automatic Fade In and Out Expression

Practical use case

Ideal for templates or MOGRTs where layers need quick fade-in/out transitions.

Check out similar expressions

Data-driven video workflows for After Effects are easier with Plainly.

a mesh of elegant lines transparent image