Enum
Enum.ControlMode
The ControlMode Enum sets how the player is controlled.
| Item | Value | Summary |
|---|---|---|
| Enum.ControlMode.Classic | 0 | Allows the camera to be moved by clicking and dragging with the right mouse button. |
| Enum.ControlMode.MouseLockSwitch | 1 | Similar 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.