# hitTest shape, not bounding box

**URL:** https://forum.kirupa.com/t/hittest-shape-not-bounding-box/219553
**Category:** programming
**Created:** [March 17, 2007, 9:16pm UTC](https://forum.kirupa.com/t/hittest-shape-not-bounding-box/219553 "2007-03-17T21:16:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AI\_2000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ai_2000/32/3449_2.png) [@AI\_2000](https://forum.kirupa.com/u/AI_2000)
#### Post date: [March 17, 2007, 9:16pm UTC](https://forum.kirupa.com/t/hittest-shape-not-bounding-box/219553/1 "2007-03-17T21:16:05Z")

</div>

I’ve ran into this problem to many times. When I hitTest an object, like \_root.player.hitTest(\_root.ground) It tests the bounding box (A box drawn around the thing), and not the shape its self. Is there any command to test the shape?
