After Effects – Wiggle X or Y Axis Only – 5 Easy Expressions

Posted on Wednesday, 13 May 2015

Wiggle X or Y axis only in After Effects CC

This guide has everything you need to know about simple scripts to wiggle in X or Y direction only in Adobe After Effects. Keep reading…

Partner with Sundstedt Animation! We produce 2D animation, whiteboard videos, motion graphics and 2.5D animation for agencies. Anders Sundstedt works remotely with studios and agencies, including 2d animation, graphics, background artwork, illustration, storyboarding & animated loops. As an artist, Anders Sundstedt makes all content from scratch. No stock or templates. If you are a musician/songwriter/producer and looking for a video director, please check out my music video work.

This guide was written by award-winning Anders Sundstedt, Director, Animator & Illustrator of Sundstedt Animation (available for animated video project work, simply get in touch to discuss your project).

Anders Sundstedt - Wiggle in X or Y only

Animated Video Testimonials

“Anders is an amazing artist and animator! I had the pleasure of collaborating with him on a song I produced for Sofi K called “Fall Back Down.” The level of hard work and detail that he put into our music video was unbelievable. He is communicative and gives you detailed descriptions and options of ways to make something work. We sent him examples of some of the imagery, tone, and feel that we were looking for in our animation and he was able to masterfully incorporate these things in. We were blown away by his talent and the way our video came out. I think Anders is doing great things in the world of animation and will continue to impress the people he collaborates with. I’m hoping to work with him again in the future.”
Bryce Harding
bryceharding.com

“It is without a doubt that I can say Anders is a unique animator because his goal is not to finish a project and move on, it’s to make something he enjoys to make and has pride in and the final product shows us his love of animation.”
Jeff Rolfzen
The Lark and The Loon

About X axis and Y axis

What is X axis and Y axis? Let’s look at the X and Y axis example image below. The red axis below is the X axis. The green axis below is the Y axis. Another name is an X and Y graph:

wiggle-x-or-y-axis-only

Let’s start with how to wiggle only in the X-axis first (only X!):

The Easy Expression to add to Position, for wiggle in X axis only (the red axis above) is:

x = transform.position[0];
y = transform.position[1];
w = wiggle(2,100);
[w[0],y];

In the example expression above, 2 is the amount on wiggles per second, 100 is the maximum wiggle value in the X axis.

Here are some alternative, tried and tested wiggle X or Y axis only (see green and red axis above) expressions you can use:

wiggle only in X (horizontal)

This is the expression for position to wiggle X only:

org=value;
temp=wiggle (5,50);
[temp[0],org[1]];

Shorthand (short version):

[wiggle(5,50)[0],position[1]]

Wiggle only in Y (vertical)

This is the expression for position to wiggle Y only:

org=value;
temp=wiggle (5,50);
[org[0],temp[1]];

Shorthand (short version):

[position[0],wiggle(5,50)[1]]

Now you know how to create a wiggle expression in After Effects for only X or Y direction! Hopefully, you found this page about how to wiggle in x or y-axis only helpful.

Partner with Us! We produce animated videos for both individual clients and other studios.

We supply animated video and illustration, animated loops, whiteboard video and video skin retouching to both local, national and international design agencies & animated production studios. Please do get in touch if you have a video project for us you want to discuss.

Custom Storyboard Template

We could not find one that has all the features we need anywhere, so we designed our own 16-panel storyboard template! Save time and buy a copy of our custom made storyboard template now to use in your own film or video production. This storyboard template has been tried in tested in our own award-winning animated music videos!

Here are some more more articles and pages:

SOFI K – Fall Back Down (Music Video)
Anders Sundstedt Portfolio
Start or stop wiggle at specific time
After Effects Eye Blink Expression
Animating a head-bob in After Effects
How to lock the position of a mask in After Effects
Moving anchor point to center of content in After Effects
Exporting Photoshop Animation To After Effects & Looping Forever
Replace and Reconnect a PSD file in After Effects
Bring Back SHIFT KEY For Proportional Transform in Photoshop 2020
Services – What We Do
Professional Video Skin Retouch Services
2.5D Parallax 3D Effect Animated Photo Service
Explainer Video Production Service
Healthcare, Biotech, Medical & Pharmaceutical Animation
Artist or a band wanting an animated music video?
Animated Music Video Production Studio
Lyric Video Production Service
Non-Profit Explainer Video Services
Corporate Video Production Services
Animated Infographics
Title Sequence Design Services
Childrens Book Illustration
2D Background Artist Services
Animated Book Trailers Videos Production
Book Trailer Video Service
Colour Grading Services
Whiteboard Animation Service
VideoScribe Video Production Service
Whiteboard Animation Companies
Dark Energy – Animated Music Video
Poka – Animated Music Video
Replace new lines with commas in Notepad++
Fix the Formatting for Outlook.com Signatures

READY TO PARTNER? – CONTACT US NOW!

    Ready to partner with a multi award winning animation studio? Anders Sundstedt doesn't work with just anyone. You have four easy options on how to get in touch:

    1. Please fill out the simple form below and we’ll follow up.
    2. Call Anders: +44 7531 800 711 to discuss your project.
    3. Chat with Anders in the lower right corner on this page.
    4. Email Anders with project details at [email protected].

    Your name*

    Your email*

    Your website

    How can we help? Details please!*

      I agree for this information to be used to respond to my enquiry.*

    * Indicates Required

    Please prove you are human by selecting the Key.

    Sundstedt Animation

    22 Auldlea Gardens
    Beith KA15 2EP
    Scotland, United Kingdom
    +44 7531 800 711

    Call Anders To Get Started!

    What most people do is complete the form above. We can then follow up, get you booked in for a free consultation and provide you with a free quote.

    Want to know more about our animated video services? Please have a look at these pages for more information:

    Services – What We Do
    Animation & Whiteboard Portfolio
    Animated Music Video Production Service
    Lyric Video Production Service
    Explainer Video Production Service
    Healthcare, Biotech, Medical & Pharmaceutical Animation
    Corporate Video Production Service
    Non-Profit Explainer Video Service
    Social Media Animation
    VideoScribe Video Production Service
    Whiteboard Animation Service
    2.5D Parallax 3D Effect Animated Photo Service
    Animated Infographics
    Book Trailer Video Service – Animated Book Trailers
    Title Sequence Design Service
    Professional Video Skin Retouch Service
    Animated Illustration / Animated Loop
    2D Paper Animation
    One-to-one advice, consulting and training

    Back To Top

    How useful was this post?

    Click on a star to rate it!

    Average rating 0 / 5. Vote count: 0

    No votes so far! Be the first to rate this post.

    We are sorry that this post was not useful for you!

    Let us improve this post!

    Tell us how we can improve this post?

    Don`t copy text!