Use 1-9 to select the hotbar, or just click them. Click a tile to build or destroy something. WASD to move the camera. Scroll to zoom in and out. You can use this template for a tile editor that supports 2x2 tiles, but it is pretty laggy, and can't get a solid 30 fps(the normal fps scratch runs at) when at a 30x30 tile grid.
New Version WIth a character + conveyors. https://scratch.mit.edu/projects/854049966/