# Enum.ControlMode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/ControlMode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/ControlMode

The ControlMode Enum sets how the player is controlled.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Classic` | 0 | Allows the camera to be moved by clicking and dragging with the right mouse button. |
| `MouseLockSwitch` | 1 | Legacy name: `Mouse Lock Switch`. 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). |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [UserGameSettings](https://rapi.sleaze.dev/classes/UserGameSettings.md): property `ControlMode`
