After Effects expressions library

Life is easier with After Effects expressions, but writing them can be daunting. That's why our team spent hours on writing and testing the most useful After Effects expressions for you.

background elegant lines mesh transparent image

All expressions

Filter
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Last update 27. Nov 2024.

Want to submit an expression and get credit? Send us an email to contact@plainlyvideos.com and we'll include your expression.

Transformation
New

Detect Layer Overlap

Great for collision detection effects, such as interactive animations where elements change on contact.

See expression
Transformation
New

Elastic Connection Expression for Linked Animation

Perfect for animating objects connected with a spring-like motion, like bungee cords or flexible connectors.

See expression
Randomness
New

Wiggle One Dimension Only Expression

Ideal for subtle jitter effects on text or images that should only move horizontally or vertically.

See expression
Motion
New

Digital Timer, Hours, Minutes, and Seconds Format

Useful for detailed time-based animations, such as timers or digital displays.

See expression
Motion
New

Digital Timer, Hours and Minutes Format

Great for countdowns or time-based animations where hours and minutes are needed.

See expression
Motion
New

Squash and Stretch Animation Expression

Ideal for adding a lively, cartoony effect to bouncing or landing animations.

See expression
Interpolation
New

Ignore Parent Layer Rotation Expression

Perfect for elements that need stable orientation despite parent layer rotations, like fixed icons or labels.

See expression
Motion
New

Display Current Date in After Effects

Useful in dynamic date overlays or template projects where the date should auto-update.

See expression
Motion
New

Automatic Fade In and Out Expression

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

See expression
Transformation
New

Replace Spaces with New Line Expression

Great for automating multi-line text layouts in templates or data-driven projects.

See expression
Interpolation
New

LookAt Expression in 2D Space

Ideal for creating interaction effects, like eyes or arrows that follow a moving object.

See expression
Randomness
New

Gradient Ramp Fixed to Layer Edges, Ignore Rotation

Ideal for animated backgrounds, shapes, or titles where the gradient should stay fixed to the layer’s edges without rotating, preserving a stable gradient effect regardless of layer rotation.

See expression
Randomness
New

Gradient Ramp Fixed to Layer Edges

Perfect for animating backgrounds, shapes, or titles where a consistent gradient needs to stay aligned with the layer as it moves.

See expression
Transformation
New

Maintain Stroke Width in 3D Space

Great for 3D projects where stroke width consistency is critical, such as motion graphics with line animations.

See expression
Transformation
New

Inherit Parent Opacity

Useful in lower-thirds or other animated text elements that fade in and out with the parent layer.

See expression
Transformation
New

Loop Mask Animation Expression

Great for looping animations on raster images, videos, or shapes when track mattes aren’t practical.

See expression
Conditional
New

Trigger Animation with Markers

Useful for triggering UI animations on click or hover, like button highlights or tooltips.

See expression
Transformation
New

Scale Up Near Another Layer Expression

Great for interactive animations, like UI buttons that grow as a cursor approaches.

See expression
Transformation
New

Maintain Scale While Parented Expression

Perfect for maintaining the original size of elements within a hierarchy, like text or UI components.

See expression
Transformation
New

Maintain Stroke Width During Scaling

Essential for icons or shapes where stroke width consistency is key, regardless of layer scaling.

See expression
Motion
New

LoopOut Duration Control Expression

Ideal for animating short loops with controlled timings, like flickering lights or pulsating effects.

See expression
Motion
New

LoopIn Specific Number of Keyframes

Handy for creating dynamic intro animations, where the start of the animation needs to repeat.

See expression
Motion
New

LoopOut Specific Number of Keyframes

Great for looping specific motion sequences, such as repetitive character movements or logo animations.

See expression
Motion
New

LoopOut Continue Expression

Useful for animations that should continue smoothly beyond their last keyframe, like gradual fade-outs or growing/scaling effects.

See expression
Motion
New

LoopOut Offset Expression

Perfect for creating staggered animations, like a row of bouncing balls or objects moving forward in a cascading pattern. Each cycle builds on the last, ideal for effects where movement needs to accumulate over time.

See expression
Randomness
New

Random Seeded Color Expression

Generating random colors consistently for text layers, ensuring each layer gets a unique color.

See expression
Transformation
New

Parent Position Offset Expression

Offsetting a child layer’s position by 100 pixels relative to its parent.

See expression
Interpolation
New

Scale Based On Distance

Scaling an object based on its distance from another object in the scene.

See expression
Randomness
New

Random Rotation Expression

Randomizing the rotation of layers in a starburst pattern, between 0 and 360 degrees.

See expression
Transformation
New

Parent Scale Expression

Increasing the scale of a child layer by 10% compared to its parent layer.

See expression
Randomness
New

Wiggle with Seed Expression

Creating a wiggle effect on position with a set seed, ensuring the randomness is consistent across renders.

See expression
Motion
New

Looping Wiggle

Use this on the Position property of an object (like a floating balloon or drifting cloud) to make it gently move up and down in a looping, natural manner. This expression ensures the wiggle effect loops seamlessly every 3 seconds, preventing abrupt jumps.

See expression
Motion
New

Rolling Ball Expression

Automatically rolling a ball that has position keyframes.

See expression
Conditional
New

Change Value Based On Position

Changing the opacity of a layer if it crosses a certaing position.

See expression
Randomness
New

Random Position Expression

Randomizing the position of a layer within a 200-pixel range in both X and Y directions.

See expression
Interpolation
New

Point To A Layer

Aligning a layer to always face a target layer.

See expression
Transformation
New

Layer Linking Expression

Linking a child layer’s position to its parent with a slight offset to create a trailing effect.

See expression
Interpolation
New

EaseIn Expression

Gradually increasing a layer’s scale from 50% to 150% over 2 seconds.

See expression
Transformation
New

Center Anchor Point Expression

Aligns other elements (like icons or graphics) to the exact center of a dynamically sized text box, keeping the layout balanced.

See expression
Motion
New

Exponential Counter Up Expression

You want to animate a text layer that shows a price or number increasing exponentially, simulating the effect of fast-growing numbers.

See expression
Interpolation
New

Color Fade Expression

Fading a color from white to black over 5 seconds.

See expression
Interpolation
New

Time-Remap Control Expression

Slowing down a video clip by half its speed using time remapping.

See expression
Transformation
New

Dynamic Text Box

Automatically resizes a background box to fit around changing text, ensuring consistent padding for labels, buttons, or captions.

See expression
Interpolation
New

Value Relative to Time Expression

Gradually changing the scale of an object from 0 to 100% over 5 seconds.

See expression
Conditional
New

Strobe Light Expression

Making a text layer's opacity blink between 100% and 0% every second.

See expression
Motion
New

Oscillate Expression

Creating a simple sine wave motion for a bouncing object or pendulum effect.

See expression
Motion
New

Loop Path

Use this to have an object (like a car or airplane) continuously follow a looping path, such as driving around a track or flying in a circular route, without needing to manually repeat keyframes.

See expression
Interpolation
New

Distance-Based Scale Expression

Scales the layer based on its distance from the point [500, 500]

See expression
Motion
New

Overshoot Expression

Adding an overshoot effect to the scale property, causing it to bounce back slightly after reaching its final value.

See expression
Randomness
New

Random Color Expression

Randomly generating a color within the RGB range for a flashing light effect.

See expression
Transformation
New

Parent Rotation Expression

Adding 45 degrees to the parent layer’s rotation to ensure the child rotates at an offset angle.

See expression
Motion
New

Sine Wave Motion Expression

Animating the opacity of an object to pulse over time using a sine wave.

See expression
Transformation
New

Delay Expression

Delaying the rotation of a gear object so it follows the rotation of a larger parent gear.

See expression
Motion
New

PosterizeTime Expression

Forcing a layer to update at 12 frames per second to create a stop-motion effect.

See expression
Transformation
New

ToComp Expression

Use when you want the 2D element to track the position of the 3D layer but stay flat and readable without 3D distortions.

See expression
Randomness
New

SeedRandom Expression

Ensuring random values for each layer stay consistent over time based on their index.

See expression
Transformation
New

ConvertToWorld Expression

Aligning a spotlight’s position to the world space anchor point of another 3D object.

See expression
Interpolation
New

Smooth Expression

Smoothing out the jittery motion of a handheld camera by averaging out its position over time.

See expression
Transformation
New

LookAt Expression in 3D space

You want a layer (such as a 3D object or camera) to always face another moving object (the target layer)

See expression
Conditional
New

Clamp Expression

Ensuring that a layer's scale never goes below 50% or above 150%, no matter what animations or adjustments you apply.

See expression
Interpolation
New

Number Counter With Separators

Neatly formats large financial figures (e.g., "1.500.000") from a slider for on-screen display.

See expression
Transformation
New

Index Expression

Placing each layer 50 pixels apart for a grid layout.

See expression
Motion
New

LoopOut PingPong Expression

Animating the position of an object in a cosine wave pattern, creating a back-and-forth motion.

See expression
Motion
New

Bounce Expression

A ball bounces to a stop after falling, using this expression to animate its bounce motion.

See expression
Randomness
New

Random Expression

Setting the opacity of multiple objects to random values between 0 and 100.

See expression
Interpolation
New

Ease Expression

Smoothly increasing opacity from 0 to 100 over 1 second for a fade effect.

See expression
Transformation
New

ValueAtTime Expression

Delaying the position animation of a layer so it follows another layer with a slight lag.

See expression
Motion
New

LoopOut Cycle Expression

Looping the position of a bouncing ball to repeat its motion indefinitely without adding more keyframes.

See expression
Motion
New

Wiggle Expression

Creating a subtle shake in a text layer to simulate a hand-held camera effect.

See expression
Motion
New

Time Expression

Rotating an object at a steady rate over time by applying it to the Rotation property.

See expression