Open the BP_PlayerBuildingComponent then open the HitGridComponent function and copy the image below, you can delete the rest of the code in that function.

Then open the BP_MasterGrid blueprint and copy the video below.