# Collision detection

**URL:** https://forum.kirupa.com/t/collision-detection/195081
**Category:** Uncategorized
**Created:** [July 28, 2006, 8:40am UTC](https://forum.kirupa.com/t/collision-detection/195081 "2006-07-28T08:40:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![noTime](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/notime/32/2608_2.png) [@noTime](https://forum.kirupa.com/u/noTime)
#### Post date: [July 28, 2006, 8:40am UTC](https://forum.kirupa.com/t/collision-detection/195081/1 "2006-07-28T08:40:48Z")

</div>

Is it possible to make hitTest with specific movieclip, e.g. I have a bullet. Can it hit dupped MCs with such instance names like enemy\*\*\*, so it would be able to to hit enemy123 or any other enemy. 🙂

I know this could be accomplished with FOR loop, but I’m using the code within onClipEvent (enterFrame) handler. The solution would help me a lot. Thanks.
