CameraMode (Property)
From Legacy Roblox Wiki
(Redirected from CameraMode)
Local: This item should be used with a LocalScript in order to work as expected in online mode.
CameraMode | |
Type | CameraMode |
Description | Changes mode of camera - either first/third person or first person only |
Member of | Player |
Example
This code, put in a LocalScript, would lock the camera of the player it is running for to first person.
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson