# Maintaining score between levels

**URL:** <https://forums.unrealengine.com/t/maintaining-score-between-levels/384952>\
**Category:** Blueprint\
**Tags:** unreal-engine, Levels, score, UE4, Blueprint, question\
**Created:** [February 14, 2017, 10:35pm UTC](https://forums.unrealengine.com/t/maintaining-score-between-levels/384952 "2017-02-14T22:35:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9aa7bc0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9aa7bc0](https://forums.unrealengine.com/u/anonymous_user_d9aa7bc0)\
**Post date:** [February 14, 2017, 11:11pm UTC](https://forums.unrealengine.com/t/maintaining-score-between-levels/384952/2 "2017-02-14T23:11:48Z")

</div>

A good way to pass information between levels is to use the GameInstance class. You need to create your own GameInstance blueprint and then change the project settings to use it. The GameInstance is an object that exists as long as your game is running so you can set some variables there and retrieve them at any point in your code using the Get Game Instance node and casting it to your own game instance class.

My explanation is probably missing some stuff so here is link with a good example on this topic.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

Hope this helps

---

_[View the full topic](https://forums.unrealengine.com/t/maintaining-score-between-levels/384952)._
