Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-22T10:25:38.067Z
Answers.LastActivityDate: 2015-01-22T10:25:38.067Z
Answers.UserDisplayName: Jason Conrad
Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-22T10:54:40.977Z
Answers.LastActivityDate: 2015-01-22T12:34:30.673Z
Answers.LastEditDate: 2015-01-22T12:34:30.673Z
Answers.UserDisplayName: stib
Body: <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>
  
Tags: <after-effects><animation>
Title: I'm having trouble scaling strokes in After Effects
UserDisplayName: user3241466
ThreadText: # 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.
  
  
  ---
  
  