# Drawing in AS - how to remove lines if they overlap?

**URL:** https://forum.kirupa.com/t/drawing-in-as-how-to-remove-lines-if-they-overlap/179160
**Category:** flash
**Created:** [February 17, 2006, 5:16am UTC](https://forum.kirupa.com/t/drawing-in-as-how-to-remove-lines-if-they-overlap/179160 "2006-02-17T05:16:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)
#### Post date: [February 17, 2006, 5:16am UTC](https://forum.kirupa.com/t/drawing-in-as-how-to-remove-lines-if-they-overlap/179160/1 "2006-02-17T05:16:23Z")

</div>

Im using FLash MX 2004, and am creating lines using move to and lineto in an empty movie clip…is there a way to delete lines if a new one intersects, if theres an overlap…or if theres more than say 5 lines on the screen?

how do i reference individual lines? all i can do is clear the whole mc which is useless…:pirate3:

any help?
