# Hittest malfunction

**URL:** <https://forum.kirupa.com/t/hittest-malfunction/216558>\
**Category:** flash\
**Created:** [February 18, 2007, 3:25am UTC](https://forum.kirupa.com/t/hittest-malfunction/216558 "2007-02-18T03:25:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthewstokeley](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@matthewstokeley](https://forum.kirupa.com/u/matthewstokeley)\
**Post date:** [February 18, 2007, 3:25am UTC](https://forum.kirupa.com/t/hittest-malfunction/216558/1 "2007-02-18T03:25:23Z")

</div>

Sorry to post guys, I’ve been searching the forum for about two days straight to no avail, so here I go.

I’ve got a moveable character, personaje, that when moved to a certain spot (hit\_mc), will trigger a new scene.

The code I’ve got attatched to hit\_mc is as follows

```auto
onClipEvent (enterFrame) {

if (_root.personaje.hitTest (this)) {
trace ("poop");
}
}

```

When I move the character over towards the mc, poop defintely appears on the output screen, and keeps appearing until I move the character off.

However when I try to add something as simple as

```auto
gotoAndPlay ("Scene 1", "Frame 1"); 

```

where the trace is, I get nothing. Any ideas would be more than helpful,

Thanks in advance, Matthew
