How can I tell if Input.getaxis(Mouse X) is returning a value

I’m working on the example project from Unity In action written by Joseph Hocking I’m at the point in the second chapter when we’re supposed to be making the character turn horizontally by detecting mouse input I have copied the provided script perfectly and the character refuses to turn with the mouse I’m sure I have the script attached to the character object and the camera is attached to the character object as well I believe the Input.getaxus method is not detecting Input from the mouse and is therefore not applying it in the translation function

Probably the easiest way is to create a public variable so that you can watch the input in the inspector.

public float mouseX;

then in the update function save the input value

mouseX = Input.getAxis("Mouse X");

you can then use mouseX to apply your input to your movement and you can also watch its value in the inspector