# Simple hitTest Proble. I think

**URL:** <https://forum.kirupa.com/t/simple-hittest-proble-i-think/228531>\
**Category:** Uncategorized\
**Created:** [June 8, 2007, 4:41pm UTC](https://forum.kirupa.com/t/simple-hittest-proble-i-think/228531 "2007-06-08T16:41:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Myazaki](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Myazaki](https://forum.kirupa.com/u/Myazaki)\
**Post date:** [June 8, 2007, 4:41pm UTC](https://forum.kirupa.com/t/simple-hittest-proble-i-think/228531/1 "2007-06-08T16:41:09Z")

</div>

onClipEvent (load) {  
for (var i:Number = 1; i\<=68; i++) {  
var mMovie:String = “mMovie”+i;  
if (this.hitTest(this[mMovie])) {  
trace(“hited”);  
}  
}  
}

Hi!

I’m using the previous cote to detect collision between several objects. It is working just fine but there is a little detail. It’s detection a collision between it self.

For instance if it collides between 5 Movie Clips in the output panel the result will be 6 instead of 5. How can I “repair” that?
