Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
DevComputerCameraMovementMode
Overwrites the player's camera movement mode setting on a computer.
Items
| Name | Value | Description |
|---|---|---|
| UserChoice | 0 | The camera will move based on the player's settings. |
| Classic | 1 | Camera tracks the player but will not automatically rotate if the player walks left or right. |
| Follow | 2 | Camera tracks the player and automatically rotates if the player walks left or right. |
| Orbital | 3 | The camera has a fixed Y position, but can be rotated around the player. |
| CameraToggle | 4 | The camera toggles between locked and free rotation with the right mouse button. |
UserChoice
The camera will move based on the player's settings.
| Field | Value |
|---|---|
| value | 0 |
Classic
Camera tracks the player but will not automatically rotate if the player walks left or right.
| Field | Value |
|---|---|
| value | 1 |
Follow
Camera tracks the player and automatically rotates if the player walks left or right.
| Field | Value |
|---|---|
| value | 2 |
Orbital
The camera has a fixed Y position, but can be rotated around the player.
| Field | Value |
|---|---|
| value | 3 |
CameraToggle
The camera toggles between locked and free rotation with the right mouse button.
| Field | Value |
|---|---|
| value | 4 |