# hitTest with several objects?

**URL:** <https://forum.kirupa.com/t/hittest-with-several-objects/222764>\
**Category:** flash\
**Created:** [April 16, 2007, 7:51pm UTC](https://forum.kirupa.com/t/hittest-with-several-objects/222764 "2007-04-16T19:51:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macsy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/macsy/32/3238_2.png) [@Macsy](https://forum.kirupa.com/u/Macsy)\
**Post date:** [April 16, 2007, 7:51pm UTC](https://forum.kirupa.com/t/hittest-with-several-objects/222764/1 "2007-04-16T19:51:41Z")

</div>

\*\*Hi. I want to make a hitTest functions that detects if a object is hitting any of several objects. Is there a way to do this?  
I thought i could do this with a array and for loop. But i think that will use to much CPU when this is loaded every frame.  
Is there any other way?

Thanks!  
\*\*
