PLEASE READ! So I'm sharing this as an example of what you might need if you're writing a fairly sizable game. This is far from finished and is laggy as hell so please run this in Turbowarp to avoid frustration! https://turbowarp.org/1230917282 So as quite a few people have said I should turn my one screen Robot Adventure game into a full game there's a lot to consider. How is it going to work?! So I've come up with this idea that to avoid performance problems with scratch I need to consider it room by room. The rooms will fit together to build a map. When a door opens it will "activate" a room behind it, this means that at any point they'll be two (or three) active rooms at any one time, this will keep the rendering of the rooms to a minimum. Once a door closes behind you that room will then be deactivated. This will also give an adventuring feel as you will never see the whole map. This should give me the freedom to make a map virtually as big as I want. Rooms will hold the dressing for any given room, objects etc. So what does this editor actually do? Not really a huge amount right now, however, you start off on the "Arrange Room" screen, this allows you to drag rooms around, edit rooms and create new rooms. Highlighting a room allows you to drag it around, hitting the pen on paper icon in the top left will edit the room. The fresh page icon in the very top left will also take you into the room editor screen with a clean slate. The text the right tells you the room name you've currently got highlighted. In the room editor you have a palette down the left and side of various blocks to make your room, this will increase over time with different furnishings in the rooms. Don't build blocks all the way to the edge, leave a one block border all the way round to allow for placing doors and lockers. Doors should always line up with a corresponding door on the adjoining room. Using the buttons on the right you can scroll the room around, flip it vertically and horizontally. The pen / paper icon will allow you to rename the room, the copy icon will make a copy of the room, the disk will save and exit the room editor back to the arrange screen. Anyway... You can't really do anything with this, but I thought I'd share this to demonstrate that before you even start writing a game you might need to put in significant effort creating custom tooling to even allow you to create a game of any significant size.
It's worth noting that this project is likely to change radically over time. There's no ability to place objects, set puzzles, have different types of console etc etc this is purely a simple block editor right now. But it's a good framework for a multi room game.