1 min read

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

NameValueDescription
UserChoice0The camera will move based on the player's settings.
Classic1Camera tracks the player but will not automatically rotate if the player walks left or right.
Follow2Camera tracks the player and automatically rotates if the player walks left or right.
Orbital3The camera has a fixed Y position, but can be rotated around the player.
CameraToggle4The camera toggles between locked and free rotation with the right mouse button.

UserChoice

The camera will move based on the player's settings.

FieldValue
value0

Classic

Camera tracks the player but will not automatically rotate if the player walks left or right.

FieldValue
value1

Follow

Camera tracks the player and automatically rotates if the player walks left or right.

FieldValue
value2

Orbital

The camera has a fixed Y position, but can be rotated around the player.

FieldValue
value3

CameraToggle

The camera toggles between locked and free rotation with the right mouse button.

FieldValue
value4