Saving a value

Hi, I’ve been working on an endless runner game where as you run u collect an in game currency which I have assigned to a variable. I would like to know how to save this value at its highest point and store it as a “high score value” and save that. Any way on how to do this would really help.


This is explained well in the documentation:

You have to make an array that you update witht he highscores and then you must save the object on shutdown. On load you have to set the values again.