# Exit?!

**URL:** <https://forum.kirupa.com/t/exit/172648>\
**Category:** Uncategorized\
**Created:** [December 16, 2005, 1:56pm UTC](https://forum.kirupa.com/t/exit/172648 "2005-12-16T13:56:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravmaster](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@Ravmaster](https://forum.kirupa.com/u/Ravmaster)\
**Post date:** [December 16, 2005, 1:56pm UTC](https://forum.kirupa.com/t/exit/172648/1 "2005-12-16T13:56:54Z")

</div>

ok my character goes down the stairs he starts next the bed on the other side of the stairs and when he does go down the stairs he comes out from the stairs… as he is meant to but when i go back up he goes next to the bed again \>if you didnt understand that then look @ this .swf [http://i2.photobucket.com/albums/y6/Ravmaster/GoldenSunLike.swf](http://i2.photobucket.com/albums/y6/Ravmaster/GoldenSunLike.swf)

o i forgot the code…

```auto
onClipEvent (enterFrame) {
	if(this.hitTest(_root.hero)){
			_global.lastx=_root.hero._x
		_global.lasty=_root.hero._y+50
		_root.gotoAndStop(1);
		}
}

```
