# \[FMX\]Draw methods

**URL:** <https://forum.kirupa.com/t/fmx-draw-methods/103880>\
**Category:** Uncategorized\
**Created:** [March 10, 2004, 6:41am UTC](https://forum.kirupa.com/t/fmx-draw-methods/103880 "2004-03-10T06:41:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dboers](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@dboers](https://forum.kirupa.com/u/dboers)\
**Post date:** [March 10, 2004, 6:41am UTC](https://forum.kirupa.com/t/fmx-draw-methods/103880/1 "2004-03-10T06:41:01Z")

</div>

I like to draw a line! I know that with the draw method

[AS]onClipEvent (enterFrame) {  
this.lineStyle(2);  
this.lineTo(150, 0);  
}[/AS]

a line is drawn at runtime from 150 pixels with a stroke of 2 ponts.

How do I include a certain speed in this :h:
