How to stop the FreeLook camera following the mouse when outside the game view

This might be a Unity Editor question rather than Cinemachine but here goes…

I’ve a FreeLook camera and in play mode it rotates with the mouse - standard mouse look stuff. In play mode if I move the mouse out of the game view into the scene view the camera still follows the mouse and rotates the character - is there a way to stop this so that if the mouse is outside the game view the camera doesn’t move?

It makes fine tuning rig positions for animation on a character in play mode very difficult.

Yeah, it’s a Unity thing.

You can circumvent it by making a custom CM input handler that suppresses input when a certain key is pressed, or something like that. This post tells you how: How do I make a CinemachineFreeLook orbiting camera that only orbits when the mouse key is down?