# Passing Variables Between Levels?

**URL:** <https://forums.unrealengine.com/t/passing-variables-between-levels/15473>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [November 18, 2014, 5:16pm UTC](https://forums.unrealengine.com/t/passing-variables-between-levels/15473 "2014-11-18T17:16:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkMansell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarkMansell](https://forums.unrealengine.com/u/MarkMansell)\
**Post date:** [November 18, 2014, 5:16pm UTC](https://forums.unrealengine.com/t/passing-variables-between-levels/15473/1 "2014-11-18T17:16:44Z")

</div>

Hi, So basically I have a level dedicated to to the Main Menu and it has some settings like Player count and Character select.

I assign the variables in the GameMode blueprint but when I open the new level all the variables reset in the GameMode.

How do I keep the variables from changing when the game loads a different level?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dede2580](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dede2580](https://forums.unrealengine.com/u/anonymous_user_dede2580)\
**Post date:** [November 18, 2014, 6:28pm UTC](https://forums.unrealengine.com/t/passing-variables-between-levels/15473/2 "2014-11-18T18:28:52Z")

</div>

…or store the values in a GameInstance object. It is specifically designed to survive level changes.
