Detect the position of the mouse press?

Detect the position of the mouse press?

Input.mousePosition

Something like this:

cam.ScreenToWorldPoint(Input.mousePosition); //only Input.mousePosition if screen space

and for detecting mouse button down/up:

Input.GetMouseButtonDown(0) //left button