you'll probably learn as you play, but you place the block by clicking on it, and if you want to erase then click the flag again for now because I haven't made the erase button yet, sorry.
this project has a lot of work in progress, lol.