Skip to content

Enum

Enum.ControlMode

The ControlMode Enum sets how the player is controlled.

Official docs ↗
ItemValueSummary
Enum.ControlMode.Classic0Allows the camera to be moved by clicking and dragging with the right mouse button.
Enum.ControlMode.MouseLockSwitch1Similar to classic, but allows the player to toggle mouse locking, causing the camera to rotate as the player moves the mouse (without holding down a button).

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.