# HELP... will this reduplicate if destroyed?

**URL:** <https://forum.kirupa.com/t/help-will-this-reduplicate-if-destroyed/152882>\
**Category:** flash\
**Created:** [June 27, 2005, 11:06pm UTC](https://forum.kirupa.com/t/help-will-this-reduplicate-if-destroyed/152882 "2005-06-27T23:06:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Limitlis](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/limitlis/32/788_2.png) [@Limitlis](https://forum.kirupa.com/u/Limitlis)\
**Post date:** [June 27, 2005, 11:06pm UTC](https://forum.kirupa.com/t/help-will-this-reduplicate-if-destroyed/152882/1 "2005-06-27T23:06:06Z")

</div>

Im using this tutorial, random motion ([http://kirupa.com/developer/actionscript/random\_motion.htm) and trying to combine with this tutorial,Detect Collision. ([url=“http://www.kirupa.com/developer/actionscript/hittest.htm”]http://www.kirupa.com/developer/actionscript/hittest.htm](http://kirupa.com/developer/actionscript/random_motion.htm))

My 1st question is… can you detect duplicated MC’s collision? Also can you use the hitTest to remove a Movieclip (as in when they collide have them both dissappear, I’ll probably play an animation first.)

My 2nd question is will this code:

```auto

[size=2][indent] i = 0; while (i<25) { 
  
duplicateMovieClip(dot, "dot"+i, i); dot.duplicateMovieClip("dot"+i, i); i++;
  
} [/indent][/size]

```

automatically detect the removed MC and create another one?

Any help is greatly appreciated. :thumb:
