# The drawing API: curveTo, help please

**URL:** <https://forum.kirupa.com/t/the-drawing-api-curveto-help-please/180929>\
**Category:** Uncategorized\
**Created:** [March 4, 2006, 6:46pm UTC](https://forum.kirupa.com/t/the-drawing-api-curveto-help-please/180929 "2006-03-04T18:46:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![malko\_G](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@malko\_G](https://forum.kirupa.com/u/malko_G)\
**Post date:** [March 4, 2006, 6:46pm UTC](https://forum.kirupa.com/t/the-drawing-api-curveto-help-please/180929/1 "2006-03-04T18:46:40Z")

</div>

Uh… I intended to write a script that would create a dynamic guided character motion. The drawing API tut gave me an idea how to do it. I thought I’ll write a script that would draw a line (or a curve) and would put it into guided motion layer. So I just wrote it by the tutorial and put it into guided motion layer. Yeah, that was naive…

So how do you define _where_ (layer) the script would draw curve/line? How do you define the layer in which the new object would be crated? I know it’s a dumb question, but I really need help. Thank you in advance.
