If you've ever watched an After Effects tutorial and heard someone say:
"Just add an expression."
...and immediately felt lost, you're not alone.
Expressions have a reputation for being complicated because they involve code. For many beginners, the moment they see a few lines of JavaScript, they assume expressions are only for advanced motion designers.
The truth is much simpler.
Most After Effects users only need a handful of expressions to automate repetitive tasks, create smoother animations, and save hours of manual keyframing.
This guide explains what expressions are, how they work, and the beginner-friendly expressions that provide the biggest real-world benefits.
No programming experience required.
An expression is a small piece of code that controls a property automatically.
Instead of creating dozens of keyframes manually, you can tell After Effects how a property should behave.
Think of expressions as instructions.
For example:
Instead of keyframing a logo to rotate forever:
Create keyframes
Copy them
Extend them repeatedly
You can use a single expression that continuously rotates the logo automatically.
The result:
Less work
Cleaner timelines
Easier revisions
Many beginners wonder:
Should I use expressions or keyframes?
The answer is usually:
Both.
Best for:
Custom animations
Precise timing
Creative control
Best for:
Repetitive motion
Automation
Dynamic behavior
Time-saving workflows
Most professional projects combine both methods.
Not sure when to stay in After Effects vs Premiere? See After Effects vs Premiere Pro.
Adding an expression takes only a few seconds.
Select the layer.
Open the property you want to control.
Examples:
Position
Rotation
Scale
Opacity
Hold:
Alt (Windows)
or
Option (Mac)
Click the stopwatch icon.
An expression field will appear.
Type your expression.
After Effects immediately evaluates the result.
To remove the expression:
Hold Alt/Option and click the stopwatch again.
Many editors avoid expressions because they think they are only useful for advanced motion graphics.
In reality, expressions solve common problems.
Examples include:
Automatic looping animations
Camera shake effects
Random movement
Infinite rotations
Responsive layouts
Dynamic text animations
A simple expression can often replace dozens of keyframes.
You do not need hundreds of expressions.
These five cover many real-world situations.
wiggle(2,30)This creates random movement.
Meaning:
2 = frequency (twice per second)
30 = movement amount
Apply to:
Position
Rotation
Scale
Popular uses:
Handheld camera effects
Object shake
Subtle motion
If a title card feels too static:
Apply:
wiggle(1,5)The movement becomes subtle and natural.
time * 100Apply to Rotation.
Result:
The layer rotates continuously.
Examples:
time * 50Slower rotation.
time * 360One full rotation per second.
Useful for:
Loading icons
Logos
Animated graphics
loopOut("cycle")This loops existing keyframes automatically.
Perfect for:
Bouncing objects
Repeating graphics
Continuous motion
Alternative:
loopOut("pingpong")Animation plays:
Forward → Backward → Forward → Backward
without creating extra keyframes.
value + wiggle(3,5)This combines your existing animation with additional randomness.
Benefits:
Preserves current animation
Adds natural variation
More predictable results
Often used for:
Camera movement
UI animations
Motion graphics
[thisComp.width/2, thisComp.height/2]Apply to Position.
Result:
The layer always remains perfectly centered.
Useful for:
Templates
Responsive designs
Motion graphics systems
Try this simple exercise.
time * 180Press Play.
You have now created a continuously rotating object without a single keyframe.
This demonstrates the core benefit of expressions:
Automation.
Ready for a full project? Try Cinematic text animation in After Effects.
Most beginner problems come from simple mistakes.
Incorrect:
wiggle(2,30Correct:
wiggle(2,30)Incorrect:
wiggle(2 30)Correct:
wiggle(2,30)Not every expression works on every property.
For example:
Rotation expressions belong on Rotation.
Position expressions belong on Position.
Clicking normally creates keyframes.
Alt/Option-clicking creates expressions.
Good candidates:
✅ Repeating animations
✅ Automated motion
✅ Dynamic templates
✅ Motion graphics systems
Avoid expressions when:
❌ Manual animation is simpler
❌ Timing needs frame-perfect control
❌ A simple keyframe solves the problem
No.
Many useful expressions are only one line long.
Not initially.
Most beginners can learn several practical expressions within a few hours.
Yes.
Expressions are common in professional workflows because they save time and improve flexibility.
Complex expressions can.
Simple expressions like those in this guide have minimal impact.
If previews still feel slow, also read How to fix After Effects lag.
Yes.
Learning a few basic expressions can dramatically improve efficiency.
If I were starting After Effects from scratch today:
wiggle()
time
loopOut()
value
Basic position expressions
Those five concepts cover a surprisingly large percentage of real-world motion graphics projects.
Expressions seem intimidating because they look like code.
In reality, they are simply tools that automate repetitive work.
Start with:
wiggle()
time
loopOut()
Experiment with the numbers.
See how the animation changes.
Once you understand those fundamentals, expressions become far less intimidating—and you'll quickly discover why so many professional After Effects artists rely on them every day.