PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

CameraMode

CameraMode

The CameraMode Enum is used to set /Player/CameraMode in /Player, and determines when first person and third person cameras should be used.

First-person

In first-person mode, the player’s camera is zoomed all the way in. Unless there is a visible GUI present with the /GuiButton/Modal property set to true, the mouse will be locked and the user’s camera will turn as the mouse moves.
First Person CameraMode

Third-person

In third-person mode, the character can be seen in the camera. While in third-person mode on Roblox:

  • You may right-click and drag to rotate your camera, or use the arrow keys at the bottom right-hand corner of the screen.
  • When you move your mouse, your camera does not change (unless you move the mouse to the end of the screen).
  • When you press any of the arrow keys, the user’s character will face in the corresponding arrow key’s direction.
  • You can zoom in and out freely.

Third-person is the default camera setting.
Third Person CameraMode


Enums

Name Value Description

Classic

0

Third-person camera which can be zoomed into first-person.

LockFirstPerson

1

Exclusively first-person camera.

Referenced by

  • StarterPlayer/CameraMode
  • Player/CameraMode