save files???

im making a game for mobile and i want save files so you spawn on the same levelbut idk how to do that. please help

You can use Save blocks to do that.
You can use the “Get” input on the NextLevel block to see what level your in and put that into a Save block. So the next time you play the game, you well “Load” the save to go to that level.

Here are a few other examples that uses save’s:
Checkpoints in each level (use checkpoints when you go back to a level):

Checkpoints only in your level (resets checkpoints in levels your not in):

Shop example: