# hitTest on duplicated MovieClips

**URL:** <https://forum.kirupa.com/t/hittest-on-duplicated-movieclips/328252>\
**Category:** flash\
**Created:** [April 30, 2012, 11:34pm UTC](https://forum.kirupa.com/t/hittest-on-duplicated-movieclips/328252 "2012-04-30T23:34:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Acon](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Acon](https://forum.kirupa.com/u/Acon)\
**Post date:** [April 30, 2012, 11:34pm UTC](https://forum.kirupa.com/t/hittest-on-duplicated-movieclips/328252/1 "2012-04-30T23:34:42Z")

</div>

In my as2 game i have an enemy on stage called “Enemy0”, my script duplicates this enemys’ actions and spawns a var number of enemies called “Enemy”. However when i play the game my “Enemy0” hits the wall I made while my “Enemy” ignores the hitTest and goes through it.

How do i make it so that my “Enemy0” and my duplicated enemy, “Enemy”, hit the wall? I can upload my flash or show my code if need be.

Plz help and thanks in advance for any help.
