Another way to choose the destination for our Sphere-arrow GameObject is by the user clicking on an object on the screen, and then the Sphere-arrow GameObject moving to the location of the clicked object:

Another way to choose the destination for our Sphere-arrow GameObject is by the user clicking on an object on the screen, and then the Sphere-arrow GameObject moving to the location of the clicked object:
This recipe adds to the first recipe in this chapter, so make a copy of that project folder and do your work for this recipe with that copy.
To create an object-based point-and-click mini-game, do the following: