# Hittest 1st mc problem

**URL:** <https://forum.kirupa.com/t/hittest-1st-mc-problem/85464>\
**Category:** Uncategorized\
**Created:** [April 5, 2005, 12:14am UTC](https://forum.kirupa.com/t/hittest-1st-mc-problem/85464 "2005-04-05T00:14:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vintage](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vintage](https://forum.kirupa.com/u/vintage)\
**Post date:** [April 5, 2005, 12:14am UTC](https://forum.kirupa.com/t/hittest-1st-mc-problem/85464/1 "2005-04-05T00:14:19Z")

</div>

i have a problem with hitTest.  
after making a movieclip (some kind of labyrinth), build with mc’s called “m”, i tried the following code

onClipEvent (enterFrame) {  
if (\_root.muur[“m”].hitTest(\_root.lijf)) {  
\_root.txt += 1;  
}  
}  
now this works fine, except for one stupid thing, only the FIRST mc i drag on the “muur” MC, works.(the rest is there, same name etc, but not add 1 to txt)  
im sure i did something stupïd, i watched the tutorial 30 times, but i cant find what i am doing wrong.  
any help would be nice.  
thx in advance
