# Recreating Pen Tool Inside AS3

**URL:** <https://forum.kirupa.com/t/recreating-pen-tool-inside-as3/327484>\
**Category:** flash\
**Created:** [March 4, 2012, 10:11am UTC](https://forum.kirupa.com/t/recreating-pen-tool-inside-as3/327484 "2012-03-04T10:11:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sitsdrummr104](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sitsdrummr104](https://forum.kirupa.com/u/sitsdrummr104)\
**Post date:** [March 4, 2012, 10:11am UTC](https://forum.kirupa.com/t/recreating-pen-tool-inside-as3/327484/1 "2012-03-04T10:11:28Z")

</div>

I’ve been looking all over with no luck for a way to code the pen tool in AS3. What i want is, in the flash application, the pen tool as it functions in Flash itself. So, for example, i push Ctrl + Enter and test my program, then can use the mouse to click and create a point, click again and it connects with a straight line, or click and drag to create a curve. I don’t need anything like hinges where you can go back and edit curves, i just want the click/click drag line functionality. Thanks in advance for any solutions of help you can offer!
