How do i make grid placement system like bedwars with speed bridging

when I mean speed bridging I mean a tool that when your cameras at a certain angle a block highlight will appear in front of the closet block to it when clicked/activated


video I hope this helps

Credits bedwars for the showcase