# Moving Screen Back To Original Position. Help!

**URL:** https://forum.kirupa.com/t/moving-screen-back-to-original-position-help/251582
**Category:** programming
**Created:** [February 10, 2008, 6:16pm UTC](https://forum.kirupa.com/t/moving-screen-back-to-original-position-help/251582 "2008-02-10T18:16:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cocoapuff](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cocoapuff](https://forum.kirupa.com/u/cocoapuff)
#### Post date: [February 10, 2008, 6:16pm UTC](https://forum.kirupa.com/t/moving-screen-back-to-original-position-help/251582/1 "2008-02-10T18:16:12Z")

</div>

Ok so I’m making a platform game. At the end of the level I have a hitTest for the character to go to the next level. I added the script **\_root.gotoAndPlay(“level2”)** and it works. But there’s one problem. It changes the frame to the end of the next level. Does anyone know how to have it go back to the 0X 0Y position of level2?

Here’s a picture of what’s happening:  
[http://img113.imageshack.us/img113/4080/132133313ge4.png](http://img113.imageshack.us/img113/4080/132133313ge4.png)

The red box represents the part that the player sees. By the end of the level the red box is surrounding the doorway since it scrolls with the character. When the character hits the doorway it transfers to that same point in the next level (“level2”)

Any help is appreciated. I really need this done soon. :cop:
