How to scale a shape in any direction in After Effects @DavidLindgren89
How to scale a shape in any direction in After Effects  @DavidLindgren89
Uploaded March 2025 | Updated September 2026, 1 week ago
If you want to scale or resize a shape in only one direction in Adobe After Effects, for example left, up, right, down, this is how you can do that.

First, you want to open your Shape layer, go to “Contents”, “Rectangle”, “Rectangle Path” (or “Ellipse” and “Ellipse Path” if it is a circle) and then unselect “Constrain proportions” next to “Size” to resize the height and width individually.

If you go to “Transform” and “Scale”, it will resize the whole shape, including the stroke, and that is why we are using the “Size” property instead.

Now, to resize the shape in only one direction, hold down “option/alt” while clicking on the stopwatch next to “Anchor Point” (under Transform).
Here you want to paste the expression that you can find in the video description underneath this video, just make sure to put the name of your shape in the first parentheses and the name of your shape path in the second parentheses.

Now, when you resize the the width and height with the “Size”-property, it will only resize in one direction.

To do this in the opposite direction, just do the same thing but instead of dividing the width and height in “2” in your expression, divide it in “-2” and now it will grow in the opposite direction.

And if you want to move the stroke of this shape to the outside or inside of the shape, check the tutorial that I will link here at the end and don’t forget to subscribe.

💻 EXPRESSION:
box_width = content ("Rectangle 1") .content("Rectangle Path 1") .size[0];
box_height = content ("Rectangle 1") .content("Rectangle Path 1") .size[1];

[box_ width/2, box_height/2]

(Rename "Rectangle 1" and "Rectangle Path 1" if needed, based on your shape name and path name)

**********

EXCLUSIVE RESOURCES FOR VIDEO CREATORS:

🎞 FREE (and paid) digital products for video creators:
davidlindgren89.gumroad.com

🎁 FREE browser extension for YouTube Growth:
tubebuddy.com/davidlindgren1989&x=homepage

🎵 2 extra months of music library "Artlist" for FREE:
artlist.io/David-121249

🧠 Learn more about Adobe Premiere Pro:
youtube.com/watch?v=ExOzQ6uCso0&list=PLgJlbAYg0mEkXrbeSUcXFU8ax-y-21Ndb

🧠 Learn more about Adobe After Effects:
youtube.com/playlist?list=PLgJlbAYg0mEnZDvh9LUAz-t0rAjCgH8IQ

**********

📲 CONNECT WITH ME HERE:

youtube.com/davidlindgren89
facebook.com/davidlindgren89
instagram.com/davidlindgren89
twitter.com/davidlindgren89
medium.com/@davidlindgren89

**********

DISCLAIMER: This video and description might contain affiliate links, meaning if you click any of the product links, I'll receive a small commission. This helps support the channel and allows me to continue making videos like this. Thank You for your support! 🙏
(All links are my genuine recommendations.)

#AdobeAfterEffects #AfterEffects #aftereffectstutorials #HowToAfterEffects
How to scale a shape in any direction in After EffectsHow to fix bug when saving in Premiere ProHow to extend graphics based on text lengthHow to move keyframes with the keyboard #ShortsHow to speed up clip without changing pitch Premiere ProHow to change markers in Premiere ProLifehack for beginners in Premiere ProMotion graphics template error fixedHow to blur movement in Premiere ProBest editing hacks in Adobe Premiere ProHow to make big captions word by wordHow to export with proxies in Premiere Pro
David Lindgren |

How to scale a shape in any direction in After Effects

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER