center camera

I can get the camera to turn in all directions by setting mouse look axes to X and Y.

My player (not char controller) is not always centered in the screen.

How do I keep the camera to rotate around the player when moving the mouse left/right

The player is a simple sphere.

If it doesn’t matter if you then don’t move in the direction which the camera is facing (for example like the player is a tank which is moving forward and the camera is the “turret”).
Then you should turn off the MouseLook script on the player and on the camera change the MouseLook script so the Axes variable shows: MouseXAndY

solved: place mouse look script on player and not the camera