# Can I change properties of an existing line?

**URL:** <https://forum.kirupa.com/t/can-i-change-properties-of-an-existing-line/321575>\
**Category:** flash\
**Created:** [April 24, 2011, 11:19am UTC](https://forum.kirupa.com/t/can-i-change-properties-of-an-existing-line/321575 "2011-04-24T11:19:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hzle](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Hzle](https://forum.kirupa.com/u/Hzle)\
**Post date:** [April 24, 2011, 11:19am UTC](https://forum.kirupa.com/t/can-i-change-properties-of-an-existing-line/321575/1 "2011-04-24T11:19:20Z")

</div>

So I draw a line using the graphics object on a Shape or Sprite, using something like:

```auto

		mySprite.graphics.lineStyle(1, 0x333333, 1, false, LineScaleMode.VERTICAL, CapsStyle.NONE, JointStyle.MITER, 10);
		mySprite.graphics.beginFill(0x000044);
		mySprite.graphics.moveTo(xval+5, y_st);
		mySprite.graphics.lineTo(xval+5, yval);
		mySprite.graphics.endFill();

```

How can I change the thickness of the line once it’s drawn? I don’t think it’s possible. I’ve also tried changing the ScaleY of the line, but even changeing the LineScaleMode from VERTICAL hasn’t helped me here.

Does anyone have any ideas?

many thanks in advance,  
Henry
