Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CursorLockMode

enumeration

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.