What is the best way to show my player what he is looking at?

I would like to show on my gamers HUD the block or object he is looking at. I am guessing I need Ray Trace but I am struggling to reference this data.