# Animate curveTo curve

**URL:** <https://forum.kirupa.com/t/animate-curveto-curve/277321>\
**Category:** flash\
**Created:** [December 10, 2008, 8:07pm UTC](https://forum.kirupa.com/t/animate-curveto-curve/277321 "2008-12-10T20:07:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpann](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tpann](https://forum.kirupa.com/u/tpann)\
**Post date:** [December 10, 2008, 8:07pm UTC](https://forum.kirupa.com/t/animate-curveto-curve/277321/1 "2008-12-10T20:07:45Z")

</div>

Hey all,

I’m trying to figure out how to create a curved line that starts at one object and goes to another, pretty much exactly the way it would look if you simply draw it with a pencil.

I’m thinking I would use the graphics.curveTo function, but that’s problematic because if I were to set up an ENTER\_FRAME event that clears the existing curve and redraws it a bit longer, the anchor point and end point have to keep changing for each iteration.

Anyone out there have a better idea?

Thanks!
