I need help with blocks in TD

How to put blocks like on this picture, I want to do a TD so does anyone know??


also how to do when player want creat tower need space 2x2 block, not aoe circle like in a lot spells which are aoe...