Рет қаралды 42,979
🎁 FREE browser extension to grow your KZbin channel:
www.tubebuddy....
You might have tried to resize a shape in After Effects, (maybe with rounded corners or a stroke,) just to notice that the corners and the stroke get distorted when resizing.
In this tutorial, I'm going to show you a solution that will not only help you resize your object without distortion but also how you can achieve this when you want to resize a shape in only one direction.
To show you how this works, I have created three identical shapes in three different colors, Red, Yellow, and Green.
If I resize the red shape, by going to "Transform" and "Scale", it will get distorted, as you can see.
If I resize the yellow one, by going to "Contents", "Rectangle 1", "Rectangle Path 1" and "Size", it will not get distorted.
However, if you move the anchor point to one of the corners, hoping that this will help you grow your shape in only one direction, it doesn't work.
Luckily, there is a way to get around this, using an expression.
I'm going to show this by using my third and final shape, the green one.
Under "Contents", "Rectangle 1" and "Transform", you click the stopwatch next to "Anchor Point" while holding down the "alt"-button.
Now you "copy and paste" the expression from the video description below and then click somewhere outside the textbox to activate this and then move your shape to where you want it to be. Your anchor point should now be visible in the corner of your shape.
Now, when you go up to the "Size" property, you can resize the width in one direction and height in one direction. And if the directions are wrong, just go down to "Rotation", type in 180 and then reposition your shape.
Now you can resize your shape in the opposite directions.
Pro-tip is to take a copy of your shape layer before you paste the expression, so that when you need to reposition the shape, you can just select both av them and use the Align-tool. Then just delete your copy.
I hope you liked this video and if you want to see more quick tutorials just like this one, please subscribe to the channel and hit the notification bell so you don't miss out on my next video!
Thanks for watching, keep learning, and have a great day!
🎁 The expression used in the video:
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]
**********
RESOURCES FOR CREATORS:
📈 🧠 Want to become a better Content Creator?
Get resources, digital products, and BTS content here:
► / davidlindgren89
🎵🎞 Want music for your videos?
Get 2 extra months 🎁 of Artlist for free:
► artlist.io/Dav...
💻💡 Want to learn more about Adobe After Effects?
Check out my playlist with short tutorials:
► • How to edit in Adobe A...
🧰🛠 Want to know what camera gear I use?
Check it out here:
► kit.co/DavidLi...
**********
GEAR I USE (AND RECOMMEND):
🚁 Drone: DJI Mavic 2 Pro ► amzn.to/37v7Hbw
💻 Laptop: Macbook Pro 15" ► amzn.to/2WqI7ic
Laptop stand ► amzn.to/3a8ufAh
Crisp device stand for laptop/ipad ► amzn.to/30Wku2T
🎧 Headphones: Doqaus ► amzn.to/3RjlSFV
🪝 Headphone-hanger under my desk ► amzn.to/3didCSp
⌨️ Keyboard ► amzn.to/2yW0N0i
🖱 Trackpad ► amzn.to/35W2nvj
📷 Camera: Lumix GH5 ► amzn.to/2YWMD9N
Lens: 14mm F2.5 ► amzn.to/2xZoHYA
Lens: 25mm F1.7 ► amzn.to/2zsSl8Q
Lens: 12-60mm F3.5-5.6 ► amzn.to/2YWoQqO
Budget tripod: Velbon M43 ► amzn.to/306ft7U
🎛 Stream deck ► amzn.to/2BDkETp
🎤 Wireless mic: Sennheiser AVX-MKE2 Lavalier Pro Set ► amzn.to/2WpXk2Y
🎤 Budget microphone: Takstar SGC-598 shotgun mic ► amzn.to/3Y0Mwpm
🎤 Condenser Microphone ► amzn.to/2T3CUuH
💡 Portable handy ringlight ► amzn.to/39ZfRu9
💡 Handy portable rechargeable lights ► amzn.to/40bjTY9
Handy adapters: USB 3.0 to USB C ► amzn.to/2WVgo8z
USB C Hub (all-in-one) ► amzn.to/2LqAnXe
Adapter: HDMI to USB ► amzn.to/2AsFfcp
Cable bag ► amzn.to/2WpVKyi
Super-usable cable straps for everyday use ► amzn.to/2yTKTn9
🖨 Labelling machine ► amzn.to/3fnbaex
**********
📲 CONNECT WITH ME HERE:
► / davidlindgren89
► / davidlindgren89
► / davidlindgren89
► / davidlindgren89
► / davidlindgren89
**********
DISCLAIMER: This video and description might contain affiliate links, which means that if you click on one of the product links, I'll receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank You for your support! 🙏
(All links are my genuine recommendations.)
#AfterEffects #AfterEffectsTutorial #HowToResize