Making image stop in this file

i’ve attached a file where i am trying to make the image stop in the center of the screen when clicked and then back to the 3d space when you click off it, instead of continuing through the screen when its clicked. check it out and let me know, thanks!!!