# How to Open Level and Set Player Position?

**URL:** <https://forums.unrealengine.com/t/how-to-open-level-and-set-player-position/443156>\
**Category:** Community & Industry Discussion\
**Tags:** savegame, load-game, teleport, open-level, unreal-engine, playerstart, question\
**Created:** [February 11, 2019, 12:56pm UTC](https://forums.unrealengine.com/t/how-to-open-level-and-set-player-position/443156 "2019-02-11T12:56:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcus-Universe](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcus-universe/32/470810_2.png) [@Marcus-Universe](https://forums.unrealengine.com/u/Marcus-Universe)\
**Post date:** [February 11, 2019, 12:56pm UTC](https://forums.unrealengine.com/t/how-to-open-level-and-set-player-position/443156/1 "2019-02-11T12:56:35Z")

</div>

I’m working on a 2D sidescroller with different levels. I have created a save game system which allows me to save the position of the player and what level he is on.

When you load the game, the saved last level opens and the player is teleported to the saved location. It should be so.

Unfortunately, the player always starts at the Player Start object. If I do not open the level and only teleport the player, it works. But only if I start from this level.

Sorry for my bad English. I am happy if someone can help me. 🙂

 ![268254-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/c/c1c675fbbcbe731fd51e67cfc1cf31edc7a3509d.png)

 ![268258-5.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/4/304460f4908130ced07b8d022fd33613bd5349a3.png)

 ![268255-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/c/62cdc43d70c56d23120ffdb1302c7ef4041b47ae.png)

 ![268256-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/0/910ded0b22e180040143df18c6c9a543aa721d84.png)

![268257-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/5/585d24317a65686aba943ec50ee3b4b0c5608194.png)

---

<div class="post-metadata">

**Author:** ![Chyros](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chyros](https://forums.unrealengine.com/u/Chyros)\
**Post date:** [February 11, 2019, 1:53pm UTC](https://forums.unrealengine.com/t/how-to-open-level-and-set-player-position/443156/2 "2019-02-11T13:53:20Z")

</div>

There are 2 issues with your game calling **Teleport** event. First, when you load a level, your Pawn isn’t created yet. Second you are calling **Teleport** before **GameMode** ’s **InitStartSpot** occurs which is responsible for choosing where **PlayerStart** and spawning your Pawn in its location.

Try moving your call to **Teleport** event during **GameMode** ’s **BeginPlay**. That way, you’re sure that your Pawn is already created and spawned before teleporting him where he should be. You probably want to call **Teleport** when you know you loaded a level, so you may need some extra variables to take care of that.
