Press space to change the block and click to place it.
Thanks to @griffpatch for his sprite <tiles> and <cursor>from his project paper Minecraft! art = griffpatch. code = Gamer_X_cat.