# Api as

**URL:** <https://forum.kirupa.com/t/api-as/148799>\
**Category:** Uncategorized\
**Created:** [May 23, 2005, 5:46pm UTC](https://forum.kirupa.com/t/api-as/148799 "2005-05-23T17:46:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abraxas](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@abraxas](https://forum.kirupa.com/u/abraxas)\
**Post date:** [May 23, 2005, 5:46pm UTC](https://forum.kirupa.com/t/api-as/148799/1 "2005-05-23T17:46:54Z")

</div>

Hello

Right now i create a paint program, which will consist of \_xmouse, \_ymouse, different colors to draw lines, different sizes. But i have a problem:

\_root.line.lineStyle(size,0x00ff99,100);

the size is the thickness of the pen. But it dont seems to work inside of that script. Can some1 help me with this? 🙂

Thanks in advance
