Widgets automatically reset when you reopen the map

When I die, my health should decrease by 1 and the map should reload.
But all widgets are resetting. How can I fix this?

1 Like

Open level will just chuck everything away and start again.

If you want to be able to remember what your score ( lives ) was the last time you were in the level, then you need to keep the number in the game instance.

2 Likes

let me try with game instance and let u know it works thank u sir.

1 Like