How to continue the game after user quit it?

Hello everyone,

I am new in Thunkable, and I am wondering which combination of blocks I have to use to make it possible for user to continue the game after quit it? For instance, if the user reaches 10th level and then quit the game and close the app, and then again open the app to continue from the 10th level, without starting from scratch
(from 1st level).

1 Like


You can use Stored variables, these are stored on the users device and our not destroyed between sessions, simply create one called “currentLevel” and then set that whenever a user completes a level, you could then have a script that checks this and does something appropriately.

All the best,


Thank you @ianphaas , your comment helps me to be closer to the solution but I am still not sure how to do all of that.

1 Like

I set it that when the user exits the level and go to some other screen or minimize the app, can return to the level at which it stopped, but I have not yet set it when it completely exits the application.

1 Like

you can use datasource

it is work for you…

i wrote basic application for you. you can check it.

firstly create data source (picture res1.jpeg)
i make one column just for basic app

second app adding label and button.

third code block editing. you will see block

every click button number adding one amount

if you close app and open it
you can see last values…

1 Like

Thank you @bilastois!

1 Like