# Exact HitTest?

**URL:** <https://forum.kirupa.com/t/exact-hittest/46075>\
**Category:** flash\
**Created:** [March 20, 2004, 10:51pm UTC](https://forum.kirupa.com/t/exact-hittest/46075 "2004-03-20T22:51:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PokeKiller](https://avatars.discourse-cdn.com/v4/letter/p/ea5d25/32.png) [@PokeKiller](https://forum.kirupa.com/u/PokeKiller)\
**Post date:** [March 20, 2004, 10:51pm UTC](https://forum.kirupa.com/t/exact-hittest/46075/1 "2004-03-20T22:51:40Z")

</div>

How would you make a hitTest, so it would only work when one thing touches the other, not just their bounding boxes?

I’m making a sideshooter kind of game, and when you move, the plane rotates in that direction, but the bounding box just gets bigger and everything crashes into it.

Erm, I guess what I’m trying to say, is how do you get hitTest to work like a button, the way it does it by exact pixels?

(I’m absolutely horrible at explaining things, if you couldn’t tell, XD)
