Roblox UtilitiesDevlHub Roblox Documentation

Enum

CameraType

Describes the camera behavior mode if using the default PlayerScripts.

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

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

Items 8#

NameValueSummary
Fixed0Camera is stationary.
Attach1Camera moves with the subject at a fixed offset and will rotate as the subject rotates.
Watch2Camera is stationary but will rotate to keep the subject in the center of the screen.
Track3Camera moves with the subject but does not rotate automatically.
Follow4Camera moves with the subject and rotates to keep the subject in the center.
Custom5Default mode used by Roblox core scripts.
Scriptable6No default behavior. Used when developers need to script custom behavior.
Orbital7The camera has a fixed Y position, but can be rotated around the player.