Is there a way to initialize a variable only once and then not initialize it anymore on app startup and close?
Ex. I need the below code to only be called once throughout the apps lifespan is there a way to do this without resetting the variable to “0” every time the scene is called?
[lua]
local score = 0
[/lua]