Camera look at object

Perfect, can you tell me how I can control the camera?
as if it were the player’s camera?