How to reset a variable to it's "default" value with an event?

“Default value” as in what the value is on the variable screen.

In my situation most of the variables are global. I’m having a sort of “reset” button that resets everything but gives some upgrades if you do so, so i cant just reset the entire game or something. I also really don’t feel like changing all of my variables to scene variables, but if thats the only way I will do so.

Think of that value as “Initial value”. It is not stored within the variable in any form once you change it.

You would probably need to set up a separate set of variables (likely with the same names, just prefixed with “default”, so like “defaultMaxHP”) and then if you need to reset your normal global variables you’d set them to the “default” set’s values.

I will try that, thanks