Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Stretching objects only on x-axis without effecting y?

  • Stretching objects only on x-axis without effecting y?

    Posted by Emily Etienne on January 23, 2017 at 12:26 pm

    Hi guys,

    I am trying to animate x-axis only on a map or square, and cannot figure out how too.
    Is there an easy way by using expressions?

    See below as example of what effect I would like to achieve:



    I also would like to know how to create the squash and stretch effect on a square in 00:17 in this link: https://vimeo.com/93206523 which i am guessing is the same i am after on the map.
    I have tried it manually, but I have some difficulty getting the square extruded and back into its position with different anchor points.

    Thank you for your help.

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Vimeo framework” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

    Emre Anil replied 9 years, 3 months ago 2 Members · 3 Replies
  • 3 Replies
  • Emre Anil

    January 23, 2017 at 2:04 pm

    I’m not really sure what you want to achieve but you can unlink X-Y scales (uncheck the constrain proportions box just left of the scale values) or link them to sliders (under expression controls effects). With sliders your X and Y scale key’s will be separate so it’ll be easier to animate.

    Also there is Transform effect under Distort, uncheck Uniform Scale and you get separate scale values and also skew option..

    For sliders put 2 slider effects for X and Y and use the expression on layers scale property:

    X = effect(“Slider X”)(“Slider”);
    Y = effect(“Slider Y”)(“Slider”);
    [X, Y]

  • Emily Etienne

    January 23, 2017 at 2:32 pm

    Thank you I did try the slider expression as you mentioned before, but i have some error with it. It says disabled, first line is incorrect effect Slider X is missing.

    Maybe I am not using the pickwick correctly. I am linking it to 1x Null object with both sliders X, Y on them.

  • Emre Anil

    January 23, 2017 at 5:46 pm

    You don’t need to apply the slider effect to a different layer.
    but if you do, you have to show the target layer first. Also i did change the slider names, sorry for the mislead..

    here’s the expression with the null objects and default slider names:

    X = thisComp.layer(“Null 1”).effect(“Slider Control”)(“Slider”);
    Y = thisComp.layer(“Null 1”).effect(“Slider Control 2”)(“Slider”);
    [X, Y]

    You need to change the name of the target Null if you have more than one in your composition..

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy