Return to Previous Spot

Is there a way to set an event so the party gets teleported to a new map, but can also send them back to the exact tile they teleported from?

I want to set up a hub of sorts that the party can teleport to anytime but when they're done, return to the exact same spot they left.

No Plugins please.
Yes that is possible.
Directly before the Teleport Command, you would need to Save 3 Values into 3 individual Variables
with Eventcommand "Control Variable"

Set Var1 to Player Map X
Set Var2 to Player Map Y
Set Var3 to Other - Map Id

When you want to return to your Spot, than you use the above Variable Ids in the Teleport Command.
Yes that is possible.
Directly before the Teleport Command, you would need to Save 3 Values into 3 individual Variables
with Eventcommand "Control Variable"

Set Var1 to Player Map X
Set Var2 to Player Map Y
Set Var3 to Other - Map Id

When you want to return to your Spot, than you use the above Variable Ids in the Teleport Command.
I've been having trouble understanding it properly, I'm sorry.

May I have a step by step guide please?

EDIT: Never Mind, I found what I was doing wrong.

Original thread: https://forums.rpgmakerweb.com/threads/return-to-previous-spot.158947/