Version: 5.4

CursorLockMode

enumeration

Switch to Manual

Description

How the cursor should behave.

Variables

NoneCursor behavior is unmodified.
LockedLock cursor to the center of the game window.
ConfinedConfine cursor to the game window.