How to scale a shape in any direction in After Effects

How to scale a shape in any direction in After Effects

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: https://davidlindgren89.gumroad.com/ 🎁 FREE browser extension for YouTube Growth: https://www.tubebuddy.com/davidlindgr... 🎵 2 extra months of music library "Artlist" for FREE: https://artlist.io/David-121249 🧠 Learn more about Adobe Premiere Pro:    • How to move clips with the keyboard in Pre...   🧠 Learn more about Adobe After Effects:    • How to edit in Adobe After Effects - Short...   ********** 📲 CONNECT WITH ME HERE: ►    / davidlindgren89   ►   / davidlindgren89   ►   / davidlindgren89   ►   / davidlindgren89   ►   / 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