Changing the camera when clicked on a collider

How do I change the position of my camera when i click on a collider. This is for a 3D menu. Do I use a trigger?

Alright thanks! :smiley: