If you have worked with After Effects for a while you’ll notice that creating random animation movements with key frames can be a real pain and a challenging task, luckily there is a better solution thanks to the wiggle expressions you can achieve random movement fairly quickly without spending hours tweaking key frames right and left.
In this blog post I’ll show multiple examples and methods of wiggle expressions from wiggle text to camera shake, I will also provide you the After Effects project source files so you can see how wiggle expressions are integrated with the layers. This should allow you to get a good understanding of how the wiggle expression works and use it for your own project. For those who hate programming expression I’ll also go over other ways to create Jiggle movement without using codes.
What’s a Wiggle Expression in After Effects ?
The basic code look like this
- The 1st number 5 define the number of time your layer will wiggle per second. This case it move 5 time in 1 second
- The 2nd Number 10 define the how much it will move up and down this case 10 pixels
|Here is a Wiggle animation example based on the setting wiggle(5,10)
Apply a Wiggle Expression in After Effects?
Using and applying an expression is fairly simple, below are the steps to add the wiggle expression to a layer,image,text or video.
– Assuming you have a layer/text/image on your After Effects timeline like below
– Select the layer on your timeline and press P (It will show the position)
– On your keyboard Press Alt (PC) or Option (Mac) click on the stopwatch icon
– Position numbers X and Y should now be red, replace transform.position with this: wiggle(5,10)
Here is the wiggle-expression After Effect project just in case you need to see it in action.