Teleport Player with One Door Object

I’m trying to create a teleport system within the same scene, like switching between rooms. My NewSprite is the player, and the doors are represented by two rectangles (NewSprite8) in the scene. The idea is that when the player collides with a door and presses a key, they are moved to a specific position in the scene (simulating moving to another room) and then, on the next press, return to the original position.

I want to do this using only one door object, with a variable to track the state, but I can’t get the return to the original position to work correctly using sub-events. I’m looking for advice on a simple and lightweight way to handle this teleport.