Move camera with button press

Hello Iam new to unity, and I am trying to write a script for a button. That when you click it the camera moves to look at a specific location. Here’s my script

Function Update ()
{
Function OnMouseDown ()
{
Camera.main.transform.position(7,6,16); 
// the numbers in the parentheses are the location of the next spot the camera needs to go,but I am not sure if that's how you would format it
 }
  }

Try:

if(Input.GetKeyDown)
  Camera.main.transform.position(7,6,16);