Store help

I want to make a store and you press s to enter it but I want you to be where you were when you entered, after you exit. Help!

My checkpoint example may be able to help,
use the save’s to know when you entered and exit the store:
https://flowlab.io/game/play/1186464

Also, in my shop, there’s an exit sign but I want it to take you to the correct level after you leave the shop, how do I do that? Game link: https://flowlab.io/game/play/1402838

Use a Save to know what level you came from,
possibly from an object or enemy that is only in that level.

mk

Can you show me what that looks like?

@tails the fox ill do a screenshot in a day or two im a little busy right now

http://forum.flowlab.io/discussion/8704/how-would-i-make-a-checkpoint-for-this-game#latest