# hitTest with lines

**URL:** https://forum.kirupa.com/t/hittest-with-lines/129712
**Category:** Uncategorized
**Created:** [November 27, 2004, 3:00am UTC](https://forum.kirupa.com/t/hittest-with-lines/129712 "2004-11-27T03:00:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oekakimaker](https://avatars.discourse-cdn.com/v4/letter/o/9fc348/32.png) [@oekakimaker](https://forum.kirupa.com/u/oekakimaker)
#### Post date: [November 27, 2004, 3:00am UTC](https://forum.kirupa.com/t/hittest-with-lines/129712/1 "2004-11-27T03:00:59Z")

</div>

How do I detect collisions between movie clips and a line created through actionscript (with the lineStyle, lineTo, etc. commands). I tried making the line inside a movie clip and doing a hitTest with that movie clip, but it did nto work. Any ideas?
