Mouse to move cursor (may not be perfectly aligned with the mouse though), and click to edit. I'm working on the sprite that tells you you're block in hand.
Credit to GreenConsole for his Tiles Terrain Generator. It helped a lot in my scripts (I changed some though.). And thanks to FlowOS for the scripts that allowed it to sense what block the cursor was touching.