Game Creator comes with a variables system that allows you to keep track of the game progress and save the state between play sessions.
A variable is a value container with information that can be changed during gameplay.
A variable is has a
name that identifies it (for example: “shotgun ammo“) and a
A variable can have different types of values, including character strings, numbers, booleans (on/off), Colors, Vector3, and references to Game Objects, Transforms, Rigidbodies, etc...
Next to the name there's a checkbox. This allows to save the variable's state between play sessions.