How to make a placing blocks and breaking blocks system

How do I…

A clear and concise description of what you are trying to do.
Make breakable blocks like in minecraft and placeable blocks

What is the expected result

Me having to use the Mouse and touch entension cuz i dont know how to do it
Explain what should happen when you run the game.
So basically the player should be able to break blocks from 4 to 5 block distance not any distance and be able to place 4 to 5 blocks aka tiles.

What is the actual result

Me using the Mouse and Touch behavior or extension and btw still havent figured out the placing block thing

Insert a minimal game showing your issue in a zip or rar
Won’t let me insert zip files