<p>If you created the shape with the rounded rectangle tool, then you won't initially have the same control over the transform as you would if you'd made the shape with the pen tool.  But there's a simple fix.  Just right-click on "Rectangle Path X" and convert to bezier path.  Now you'll be able to use the selection tool to draw a marquis around the individual corner points and animate them however you like (just tick the stopwatch next to "path" to create keyframes).</p>

<p>Just to be clear, don't animate the "Scale" transform property x value.  This will distort the lines, even after they're converted to a bezier curve.  Instead, animate the actual corners of the path.</p>

<p><img src="https://i.sstatic.net/8HPFU.png" alt="enter image description here"></p>

CC BY-SA 3.0
2015-01-22T10:25:38.067Z
2015-01-22T10:25:38.067Z
Jason Conrad
<p>Animate the x value of the <strong>Size</strong> property of the rounded rectangle path, rather than the <strong>Scale</strong> to leave your strokes the same width. This will let you change the size of the rectangle without affecting the stroke size, or indeed the size of the corner radius.</p>

<p><img src="https://i.sstatic.net/xiwpa.png" alt="enter image description here"></p>

<p>However the down side is that you can't just drag the corners in the comp window, this will affect the scale, rather than the size property, so you have to use the numbers in the properties panel. If that's not the way you work, convert them to Beziers as @Jason Conrad suggested. The down side of that approach is that with a rounded rectangle you're now dealing with eight bezier points and sixteen handles, rather than two numbers. The up side is that you can work with them in the comp window.</p>

CC BY-SA 3.0
2015-01-22T10:54:40.977Z
2015-01-22T12:34:30.673Z
2015-01-22T12:34:30.673Z
stib
<p>I am new to after effects and I am having <strong>trouble understanding scaling shapes</strong>. I have an initial shape ( image 1 ) that I wish to expand and animate to a wider shape ( image 2 ). But as you can see, the grey stoke also widens when I expand it when I want it to remain the same stroke width as the previous image and just have the shape widen. <strong>Basically I want image 1 to animate to a wider shape and look just like image 3 without the stoke becoming thicker.</strong> Hope that makes sense.</p>

<p><img src="https://i.sstatic.net/TzGOj.jpg" alt="enter image description here"></p>

<p>Any help will be most appreciated.</p>

<after-effects><animation>
I'm having trouble scaling strokes in After Effects
user3241466
# I'm having trouble scaling strokes in After Effects

(Asked by: username_0 on 2015-01-22)

I am new to after effects and I am having **trouble understanding scaling shapes**. I have an initial shape ( image 1 ) that I wish to expand and animate to a wider shape ( image 2 ). But as you can see, the grey stoke also widens when I expand it when I want it to remain the same stroke width as the previous image and just have the shape widen. **Basically I want image 1 to animate to a wider shape and look just like image 3 without the stoke becoming thicker.** Hope that makes sense.

![enter image description here](https://i.sstatic.net/TzGOj.jpg)

Any help will be most appreciated.

**Tags:** after-effects, animation


---

## 2 answers

### Answer by username_1 on 2015-01-22. Score: 5

If you created the shape with the rounded rectangle tool, then you won't initially have the same control over the transform as you would if you'd made the shape with the pen tool. But there's a simple fix. Just right-click on "Rectangle Path X" and convert to bezier path. Now you'll be able to use the selection tool to draw a marquis around the individual corner points and animate them however you like (just tick the stopwatch next to "path" to create keyframes).

Just to be clear, don't animate the "Scale" transform property x value. This will distort the lines, even after they're converted to a bezier curve. Instead, animate the actual corners of the path.

![enter image description here](https://i.sstatic.net/8HPFU.png)


---

### Answer by username_2 on 2015-01-22. Score: 3

Animate the x value of the **Size** property of the rounded rectangle path, rather than the **Scale** to leave your strokes the same width. This will let you change the size of the rectangle without affecting the stroke size, or indeed the size of the corner radius.

![enter image description here](https://i.sstatic.net/xiwpa.png)

However the down side is that you can't just drag the corners in the comp window, this will affect the scale, rather than the size property, so you have to use the numbers in the properties panel. If that's not the way you work, convert them to Beziers as @username_1 suggested. The down side of that approach is that with a rounded rectangle you're now dealing with eight bezier points and sixteen handles, rather than two numbers. The up side is that you can work with them in the comp window.


---

