# Hittest problems (in movie clips)

**URL:** <https://forum.kirupa.com/t/hittest-problems-in-movie-clips/217958>\
**Category:** Uncategorized\
**Created:** [March 3, 2007, 2:57pm UTC](https://forum.kirupa.com/t/hittest-problems-in-movie-clips/217958 "2007-03-03T14:57:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shweet](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@shweet](https://forum.kirupa.com/u/shweet)\
**Post date:** [March 3, 2007, 2:57pm UTC](https://forum.kirupa.com/t/hittest-problems-in-movie-clips/217958/1 "2007-03-03T14:57:38Z")

</div>

heyall :deranged: i am having a few problems with my hitests see

```auto
onClipEvent (enterFrame) {
 if (this.hitTest(_root.blue_mc)) {
  _root.healthbar.gotoAndStop(_root.healthbar._currentframe -= 5);
 }
}

```

is giving me huge dramas this is the currant fla file what i want it to do is to: when w is pressed and glover\_mc contacts… i cant esplain this… ummm… i need a simple hittest that when \_root.this.red\_mc hits \_root.blue redhealth\_mc -=2

if u know (ive looked thru forums and other work i just cant find it  
:{
