# Drawing api

**URL:** <https://forum.kirupa.com/t/drawing-api/93646>\
**Category:** Uncategorized\
**Created:** [November 3, 2003, 9:53am UTC](https://forum.kirupa.com/t/drawing-api/93646 "2003-11-03T09:53:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blah\_de\_blah](https://avatars.discourse-cdn.com/v4/letter/b/a8b319/32.png) [@blah\_de\_blah](https://forum.kirupa.com/u/blah_de_blah)\
**Post date:** [November 3, 2003, 9:53am UTC](https://forum.kirupa.com/t/drawing-api/93646/1 "2003-11-03T09:53:49Z")

</div>

From the Robert Penner code given in this tutorial:

[http://www.kirupa.com/developer/actionscript/tricks/drawing\_api.htm](http://www.kirupa.com/developer/actionscript/tricks/drawing_api.htm)

i was wondering why controlx and controly has to be so complicated.

I’ve tried changing it to just \_root.\_xmouse but it messes up. I don’t get this, shouldn’t the curve point be the same point as the mouse?? thanks
