# Multiple Projectiles/Targets...hitTest

**URL:** <https://forum.kirupa.com/t/multiple-projectiles-targets-hittest/211749>\
**Category:** programming\
**Created:** [January 4, 2007, 8:11pm UTC](https://forum.kirupa.com/t/multiple-projectiles-targets-hittest/211749 "2007-01-04T20:11:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tempest811](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@Tempest811](https://forum.kirupa.com/u/Tempest811)\
**Post date:** [January 4, 2007, 8:11pm UTC](https://forum.kirupa.com/t/multiple-projectiles-targets-hittest/211749/1 "2007-01-04T20:11:50Z")

</div>

Hey guys…I’m having problems with killing multiple enemies (collisions).  
Basically my ship fires fine and all but I’m only able to kill one enemy with one projectile at a time being on the stage. If I fire more than one shot or hold the mouse down, the hits no longer register. I have a feeling it has to do with my onEnterFrame function being called INSIDE the function which creates and fires the projectile but I don’t see how else to do it…or it could be a problem with me using a setInterval onMouseDown.

Try single clicking slowly and holding the mouse down.  
Anyways, here’s the FLA…any help is appreciated. Thanks
