Click Object to Rotate Camera

Hi everyone. I have come across the problem of rotating the camera when clicking on an object in my game. I have a collider and everything like that it is just the scripting I am having the trouble with. I have tried using Itween but I just cannot seem to get it to work. I would like to know how I can solve this problem.

Run a little script that runs when you click the object.
The command you want to look at


If you have trouble integrating this into your script I can help you with some javascript.