# Problems with hit test and scores

**URL:** <https://forum.kirupa.com/t/problems-with-hit-test-and-scores/98068>\
**Category:** Uncategorized\
**Created:** [January 2, 2004, 3:18pm UTC](https://forum.kirupa.com/t/problems-with-hit-test-and-scores/98068 "2004-01-02T15:18:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mako](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@mako](https://forum.kirupa.com/u/mako)\
**Post date:** [January 2, 2004, 3:18pm UTC](https://forum.kirupa.com/t/problems-with-hit-test-and-scores/98068/1 "2004-01-02T15:18:14Z")

</div>

Hi.

I’m busy with a game thats using the hit tests and variable etc… My hit test works… but when the one mc hits the other it goes from 1 to 10 very rapidly. It does not record one hit and then another this is what I am using at the moment.

onClipEvent (enterFrame) {  
speed = 10;  
this.\_y += speed;  
if (this, hitTest(\_root.arrow)) {  
\_root.lives += 1;

```
}

```

}

Any ideas would be most helpful…

thanx  
mako 🙂
