Raycasting 3D and 2D Leave a Comment / GAMEDEV / By Mateusz In this example we will print a name of the object that was clicked.