Click flag to generate terrain and press space to change block you want to place. To place click. If you want to delete a block press space until it is blank( blue background) then click