how to raycast

I am trying to restart my 3x3 mining pickaxe goal for which I got to know that I need raycasting which I know nothin about

Continue to help post