# Changing the thickness of the line being drawn at runtime

**URL:** <https://forum.kirupa.com/t/changing-the-thickness-of-the-line-being-drawn-at-runtime/222839>\
**Category:** flash\
**Created:** [April 17, 2007, 11:27am UTC](https://forum.kirupa.com/t/changing-the-thickness-of-the-line-being-drawn-at-runtime/222839 "2007-04-17T11:27:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolpills](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@coolpills](https://forum.kirupa.com/u/coolpills)\
**Post date:** [April 17, 2007, 11:27am UTC](https://forum.kirupa.com/t/changing-the-thickness-of-the-line-being-drawn-at-runtime/222839/1 "2007-04-17T11:27:25Z")

</div>

Hi guys,

I am working on a interactivity wherien i draw lines using a pen/pencil just as in MsPaint application in Microsoft. Ia m done with the pencil/ pen tool and its working fine but I basically want to change the thickness of the line at runtime by using a slider functionality …can somebody help me with this.

```auto
 
drawing_mc.lineStyle(1, 0x99CC00, 100);

```
