silly little test project literally has under 50 lines of code arrows to flip through tiles click to place blocks c to clear r to rotate f to flip (180 not mirror) 1-8 = hotkeys (recommended use)
I remixed and added 32 new blocks plus made controls easier to use!(If you don't know what it is it says it in the corner)('stone~slab' and 'dirt~slab are not slabs for some reason)