Updated Jun 17, 2026

After Effects Expressions for Beginners - A Simple Guide That Actually Makes Sense

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.

What Is an Expression in After Effects?

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

Expressions vs Keyframes

Many beginners wonder:

Should I use expressions or keyframes?

The answer is usually:

Both.

Keyframes

Best for:

  • Custom animations

  • Precise timing

  • Creative control

Expressions

Best for:

  • Repetitive motion

  • Automation

  • Dynamic behavior

  • Time-saving workflows

Most professional projects combine both methods.

Keyframes versus expressions in After Effects.jpg

Not sure when to stay in After Effects vs Premiere? See After Effects vs Premiere Pro.

How to Add an Expression

Adding an expression takes only a few seconds.

Step 1

Select the layer.

Step 2

Open the property you want to control.

Examples:

  • Position

  • Rotation

  • Scale

  • Opacity

Step 3

Hold:

Alt (Windows)

or

Option (Mac)

Step 4

Click the stopwatch icon.

An expression field will appear.

Step 5

Type your expression.

After Effects immediately evaluates the result.

To remove the expression:

Hold Alt/Option and click the stopwatch again.

Why Learn Expressions?

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.

5 Beginner Expressions Worth Learning

You do not need hundreds of expressions.

These five cover many real-world situations.

1. wiggle() — The Most Popular Expression

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

Real Example

If a title card feels too static:

Apply:

wiggle(1,5)

The movement becomes subtle and natural.

2. time — Continuous Animation

time * 100

Apply to Rotation.

Result:

The layer rotates continuously.

Examples:

time * 50

Slower rotation.

time * 360

One full rotation per second.

Useful for:

  • Loading icons

  • Logos

  • Animated graphics

3. loopOut() — Repeat Keyframes Forever

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.

4. value + wiggle()

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

5. Centering Layers Automatically

[thisComp.width/2, thisComp.height/2]

Apply to Position.

Result:

The layer always remains perfectly centered.

Useful for:

  • Templates

  • Responsive designs

  • Motion graphics systems

Beginner Project: Your First Useful Expression

Try this simple exercise.

Create a Shape Layer

Open Rotation

Add Expression

time * 180

Press 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.

Common Expression Errors

Most beginner problems come from simple mistakes.

Missing Brackets

Incorrect:

wiggle(2,30

Correct:

wiggle(2,30)

Missing Commas

Incorrect:

wiggle(2 30)

Correct:

wiggle(2,30)

Applying Expressions to the Wrong Property

Not every expression works on every property.

For example:

Rotation expressions belong on Rotation.

Position expressions belong on Position.

Forgetting Alt / Option

Clicking normally creates keyframes.

Alt/Option-clicking creates expressions.

When Should You Use 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

Frequently Asked Questions

Do I Need Programming Experience?

No.

Many useful expressions are only one line long.

Are Expressions Difficult to Learn?

Not initially.

Most beginners can learn several practical expressions within a few hours.

Do Professional Motion Designers Use Expressions?

Yes.

Expressions are common in professional workflows because they save time and improve flexibility.

Can Expressions Slow Down After Effects?

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.

Should Beginners Learn Expressions Early?

Yes.

Learning a few basic expressions can dramatically improve efficiency.

What I Would Learn First

If I were starting After Effects from scratch today:

  1. wiggle()

  2. time

  3. loopOut()

  4. value

  5. Basic position expressions

Those five concepts cover a surprisingly large percentage of real-world motion graphics projects.

Final Thoughts

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.

Add Your Comment

logo

FLIXITY

Follow us for video editing tutorials

© 2026 FLIXITY. All rights reserved