# How would I spawn the player at a specific point when opening a new level?

**URL:** <https://forums.unrealengine.com/t/how-would-i-spawn-the-player-at-a-specific-point-when-opening-a-new-level/423683>\
**Category:** Asset Creation\
**Tags:** spawn, topdown, unreal-engine, question\
**Created:** [April 26, 2018, 7:34pm UTC](https://forums.unrealengine.com/t/how-would-i-spawn-the-player-at-a-specific-point-when-opening-a-new-level/423683 "2018-04-26T19:34:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![goncasmage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@goncasmage](https://forums.unrealengine.com/u/goncasmage)\
**Post date:** [April 26, 2018, 7:50pm UTC](https://forums.unrealengine.com/t/how-would-i-spawn-the-player-at-a-specific-point-when-opening-a-new-level/423683/2 "2018-04-26T19:50:49Z")

</div>

The GameMode class has a ChoosePlayerStart function, that you can override in its blueprint/C++ class.  
I’d say, you keep an integer (“StartIndex” for instance) with the index of the PlayerStart you want to choose, in a GameInstance class.  
Then, when the player goes through the door, you change the index, from 0 to 1.  
In the overriden function, you get all actors of class PlayerStart, and return the one at the index you saved in the GameInstance class, and that way, you get different starts depending on where you exited another level.

If you didn’t understand anything i said or need a hand let me know.

---

_[View the full topic](https://forums.unrealengine.com/t/how-would-i-spawn-the-player-at-a-specific-point-when-opening-a-new-level/423683)._
