Try something like this:
Give door object instance variable: gotoLayout
For each door, put the name of the layout you want the door to lead into this variable.
On spacebar pressed
Player is overlapping door
.. goto layout door.gotoLayout
.. // perhaps set your 'locationPoint' here too, so you know where to spawn the player in the new layout