# Letting the user draw lines, then smooth them out

**URL:** <https://forum.kirupa.com/t/letting-the-user-draw-lines-then-smooth-them-out/321301>\
**Category:** flash\
**Created:** [April 15, 2011, 7:06pm UTC](https://forum.kirupa.com/t/letting-the-user-draw-lines-then-smooth-them-out/321301 "2011-04-15T19:06:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m2244](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@m2244](https://forum.kirupa.com/u/m2244)\
**Post date:** [April 15, 2011, 7:06pm UTC](https://forum.kirupa.com/t/letting-the-user-draw-lines-then-smooth-them-out/321301/1 "2011-04-15T19:06:34Z")

</div>

Hello,

Right now I have it so that the user draws a line and I capture the points at which they begin and end the line. Then I delete that line (it is too sqiggly) and draw a straight line between those 2 points.

What I would like to do is let the user draw lines as needed (ie arond other objects on stage) and then somehow smooth them out.

Any thoughts?
