# Help with some small problem

**URL:** <https://forum.kirupa.com/t/help-with-some-small-problem/279766>\
**Category:** Uncategorized\
**Created:** [January 19, 2009, 2:33am UTC](https://forum.kirupa.com/t/help-with-some-small-problem/279766 "2009-01-19T02:33:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santa\_Clause](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Santa\_Clause](https://forum.kirupa.com/u/Santa_Clause)\
**Post date:** [January 19, 2009, 2:33am UTC](https://forum.kirupa.com/t/help-with-some-small-problem/279766/1 "2009-01-19T02:33:41Z")

</div>

Hello peoples,

It’s really late and I’m really tired and I’m working on this top down game where a guy has to collect coins and dodge stuff.

So here I have this Pit where you can fall into, which is basically a thing that if you touch it you go to the Game Over frame, which is in my case frame 1.

BUT, that doesn’t seem to be working since I got 2 scenes now and this line of code is supposed to warp the guy to frame 1 of the current scene, not frame 1 of the whole game.

```auto
onClipEvent (enterFrame) {
	if (_root.survivor.hitTest(this)) {
		this._x = -50;
		this._y = -50;
		tellTarget ("_root") {
			gotoAndStop(1);
		}

	}
}

```

That’s attached to the hole thing, survivor is my characters instance name.

If anyone could help me that’d be really great!  
Thanks in advance.
