Become an affiliate. Earn 20% recurring commission on every referralEarn 20% recurring commissionEarn 20% recurringApply Today
AE Shortcut

How to Use the Wiggle Expression in After Effects

To use the wiggle expression in After Effects, Alt-click (Option-click on Mac) the stopwatch next to a property, type wiggle(2, 30), and click outside the box. The first number is how many times a second the value changes direction, and the second is how far it moves, in that property’s own units: pixels for Position, degrees for Rotation.

Below is what the two numbers do in practice, the variations people search for most (one axis, a slider, stopping it), and a one-click way to apply it.

Watch: Shortcut adding adjustment layers, loops, wiggle and reversed keyframes in After Effects

What the two numbers do

Wiggle picks a new random value around the property’s current value, over and over, and eases between them. Frequency sets how often, amplitude sets how far. A few starting points:

  • wiggle(1, 10) on Position: a slow, gentle drift, good for floating elements.
  • wiggle(3, 20) on Position: handheld camera feel.
  • wiggle(8, 15) on Position: nervous, jittery energy.
  • wiggle(2, 5) on Rotation: a sign swinging slightly.

Wiggle adds to whatever the property already does, so you can keyframe a move and wiggle on top of it.

Adding wiggle by hand, step by step

Open the property

Select the layer and press P for Position (R for Rotation, S for Scale, T for Opacity).

Open the expression field

Alt-click (Option-click) the stopwatch next to the property. An expression field opens on the timeline and the value turns red.

Type the expression

Type wiggle(2, 30), then click anywhere outside the field. Press Space to preview.

Tune it

Change the two numbers until the motion feels right. Frequency is usually the one to lower.

Four useful variations

✓
Wiggle one axis only

On Position, w = wiggle(2, 30); [value[0], w[1]] keeps the horizontal position and wiggles only up and down. Swap the two to wiggle sideways only.

✓
Control it with a slider

Add Effect, Expression Controls, Slider Control, then replace the 30 with a pick-whip to the slider. Now you can change the amount without opening the expression.

✓
Stop or start it

With the amount on a slider, keyframe the slider to 0 where the wiggle should stop, or ramp it up from 0 to ease it in.

✓
Change the pattern

Two layers with the same wiggle still move differently, because each layer has its own random seed. Add seedRandom(5); before the wiggle to try a different pattern on the same layer.

Prefer keyframes to expressions? Window, Wiggler opens a panel that writes random keyframes between two selected keyframes, which you can then edit one by one.

The one-click way with Shortcut

Shortcut is a free bar of one-click buttons for the jobs you repeat every day in After Effects. Wiggle is one of them, and the video runs through it alongside the others:

Adjustment layer

Need an adjustment layer over these layers? One click, and it spans the selection.

Loop

Want that logo spinning all comp long? Loop runs the layer out to the end of the comp, stutter-free. Shift-click for a ping-pong loop.

Wiggle

Need a little shake? Wiggle drops the expression straight onto Position, or onto the properties you selected. Shift-click strips expressions off the selection again.

Reverse keyframes

Animation running backwards? Reverse keyframes flips them in time, eases and all.

The wiggle frequency and amount live in Shortcut’s settings, so the button applies your numbers every time, and each button is one undo step in After Effects.

Tool Spotlight · After Effects, Premiere Pro
Shortcut, one-click buttons for everyday jobs
Adjustment layers, loops, wiggle, reverse keyframes, un-precompose, frame grabs and a QC scan, in one small docked bar. Free, no subscription.
Get Shortcut free →

Wiggle tips

✓
Shake a null, not the footage

For camera shake, wiggle a null and parent the camera or the footage to it. You can switch the shake off by unparenting.

✓
Scale up shaken footage

Wiggling a full-frame layer shows its edges. Scale it up a few percent, or use a camera so the frame stays covered.

✓
Turn on motion blur

Fast wiggles look cheap without motion blur. Switch it on for the layer and the comp.

✓
It stays editable

A wiggle from Shortcut is an ordinary expression, so the project opens and renders anywhere, with or without Shortcut installed.

Or ask Claude or ChatGPT

The Filmit MCP can apply ready-made expressions in After Effects, wiggle included, and add the slider to control them. "Add a gentle wiggle to the logo’s rotation with a slider for the amount" is one request. Our guide to using Claude in After Effects shows the setup, and the After Effects MCP guide lists what it can build.

Next, see how to loop an animation in After Effects, or the full tour of Shortcut for After Effects. Shortcut is free in Filmit Studio, our free desktop app.

Frequently asked questions

The first number is the frequency, how many times a second the value changes direction. The second is the amplitude, how far it moves, in the property’s own units: pixels for Position, degrees for Rotation, percent for Scale and Opacity.

On Position, use an expression that keeps one axis and wiggles the other, for example w = wiggle(2, 30); [value[0], w[1]] to wiggle only up and down. Or right-click Position, choose Separate Dimensions, and put a plain wiggle on just X Position or Y Position.

Add a Slider Control (Effect, Expression Controls, Slider Control), pick-whip the wiggle’s amount to it, and keyframe the slider down to 0 where you want the wiggle to stop.

Put a wiggle on a null, parent your camera or your footage to it, and keep the frequency low for handheld drift or higher for impacts. If you shake footage, scale it up slightly so the edges never show.

Yes. Shortcut is free, with no subscription and no payment. Install it from Filmit Studio, which is also free. It works in After Effects and Premiere Pro; the Wiggle button is in After Effects.

J
Written by
Jay · Filmit.io Customer Success Lead

Jay is the Customer Success Lead at Filmit.io. He helps editors and motion designers get more out of After Effects and Premiere Pro, with a focus on cutting the busywork out of everyday post-production.

Enjoyed this article?

Get new tutorials, tool updates, and filmmaking tips delivered to your inbox. No spam, unsubscribe anytime.

✦ 7-day free trial

Get Every Tool

Plugins, overlays, courses, and updates. All in one desktop app.

Download Filmit Studio