# Lock Camera Mouse Relative Mode On/Off

Grammar — Lock camera mouse relative mode enable for player player
FlagsNative | Action

When this is turned on, it will make all of a player’s mouse movements act as if that player was drag-scrolling (holding down the middle mouse button). This will hide the mouse cursor. Use in conjunction with “Turn Camera Mouse Rotation On/Off” to make an FPS-style camera.

# Arguments

Returns — void

native void CameraForceMouseRelative(
	int player,
	bool value,
);

Category: Camera / Camera Tricks

# Examples

— None found —