I think you need to save the values, and show the events that you use for this.
Here’s a very brief example of how to save and load a structure to local storage.
Oh , and as a btw, ToString(Variabel(some_var))
can be better written as VariableString(some_var)
. It doesn’t matter if some_var
is a number, GDevelop will convert its usage to a string without permanently converting the variable.