Changing Input.GetAxis camera to cursor movement instead

Hey, so I recently found this script:
that has been an immense help for my project, but I was wondering how I could change the ‘input’ so that instead of the camera being moved by the WASD and arrow keys it is instead moved by the cursor. Any insight into this would be greatly appreciated!


Input.GetAxis("Mouse X") for horizontal mouse input, Input.GetAxis("Mouse Y") for vertical.