# Help with hitTest!

**URL:** https://forum.kirupa.com/t/help-with-hittest/158005
**Category:** flash
**Created:** [August 5, 2005, 7:26pm UTC](https://forum.kirupa.com/t/help-with-hittest/158005 "2005-08-05T19:26:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Pattt](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@Pattt](https://forum.kirupa.com/u/Pattt)
#### Post date: [August 5, 2005, 7:26pm UTC](https://forum.kirupa.com/t/help-with-hittest/158005/1 "2005-08-05T19:26:33Z")

</div>

**\_root\>mc1\>mc2\>box**

The box got this code:

```php
 
onClipEvent (enterFrame) {
   if (_parent.hitTest(this)) {
	   trace("hitting");
   }
}

```

I want the box to trace when it hits mc2, but it don’t works!

Please help me!
