# AS3: hitTest Help

**URL:** https://forum.kirupa.com/t/as3-hittest-help/278042
**Category:** flash
**Created:** [December 21, 2008, 2:29am UTC](https://forum.kirupa.com/t/as3-hittest-help/278042 "2008-12-21T02:29:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DanDaMan](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)
#### Post date: [December 21, 2008, 2:29am UTC](https://forum.kirupa.com/t/as3-hittest-help/278042/1 "2008-12-21T02:29:10Z")

</div>

I’m using this code to detect a collision with the movieclips circle and line, but it doesn’t appear to be working.

```auto
if(circle.hitTestObject(line)){
    // stuff
}

```

Can someone please tell me what’s wrong? Thanks in advance =D

**EDIT: Oh wait, never mind. I just forgot the event listener. Solved.**
