Saving the game

Hi, I am having a bit of trouble and I wonder if there is an easy fix for it. I have made one global variable where I added lots of scene variables. This global variable saves all information I need when reaching a checkpoint. When in the game menu I click continue it loads the last checkpoint which is great, but when I exit the game it changes back to 0 which means the game just restarts. Is there a way to save the state of the global variable so that when you exit and restart the game the global variable stays where it was before? I have read some similar topics but I guess I am just slow :frowning:

You need to store your variable.

You can store global variables?

If not, you can store in a scene variable first. And do the reverse after loading.