PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

CameraType

CameraType

The CameraType Enum is used in Camera.CameraType to set the behavior of the Camera object.

Note: Attach, Watch, Track, and Follow all require a valid /Camera/CameraSubject to work properly.


Enums

Name Value Description

Fixed

0

Camera is stationary.

Watch

2

Camera is stationary but will rotate to keep the subject in the center of the screen.

Attach

1

Camera moves with the subject at a fixed offset and will rotate as the subject rotates.

Track

3

Camera moves with the subject but does not rotate automatically.

Follow

4

Camera moves with the subject and rotates to keep the subject in the center.

Custom

5

Default mode used by Roblox Core Scripts.

Scriptable

6

No default behavior. Used when developers need to script custom behavior.

Orbital

7

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

Referenced by

  • Camera/CameraType