---
title: "Camera"
description: "Represents the active view and the protected Camera hierarchy node under Workspace."
canonical: "https://docs.glorpia.com/instances/camera"
markdown: "https://docs.glorpia.com/instances/camera.md"
---
# Camera

Represents the active view and the protected Camera hierarchy node under Workspace.

**Category:** Instances

## Access

`workspace.CurrentCamera` exposes the active view's transform and field of view to LocalScripts and CoreScripts. The Camera row in the Workspace hierarchy can also own child Instances.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| `Position` | Vector3 | Read/write camera world-space position. |
| `Orientation` | Vector3 | Read/write XYZ camera rotation in degrees. |
| `CFrame` | CFrame | Read/write the camera position and rotation together. |
| `FieldOfView` | number | Read/write vertical field of view in degrees. Values are clamped from 1 to 120. |
| `CameraMode` | Enum.CameraMode | Controls the built-in camera mode. Classic uses normal zoom behaviour. LockFirstPerson keeps the built-in camera in first person. |
| `CameraType` | Enum.CameraType | Controls whether the Core CameraScript drives the Camera. Custom is the default built-in behaviour. Scriptable disables built-in camera control so creator LocalScripts own the Camera and camera input behaviour. |
| `Name` | string | Camera. |
| `ClassName` | string | Camera. |

## Camera Control

`CameraType = Enum.CameraType.Custom` is the default. The Core CameraScript updates the Camera each frame using Glorpia's normal third-person and first-person controls.

`CameraType = Enum.CameraType.Scriptable` stops the Core CameraScript from changing the Camera transform or field of view and stops its built-in zoom/freecam input handling. Creator LocalScripts can then control the Camera and camera input directly.

`CameraMode = Enum.CameraMode.LockFirstPerson` keeps the built-in Custom camera in first person. Switching back to `Classic` restores normal zoom behaviour.

## Children

Instances may be parented beneath Camera. Because Camera itself is a Workspace child, Parts anywhere below it remain Workspace descendants and are therefore rendered and included in world physics.

## Example: Point The Camera At The Origin

```luau
local camera = workspace.CurrentCamera
local position = Vector3.new(12, 10, 12)

camera.CFrame = CFrame.lookAt(
    position,
    Vector3.zero
)
camera.FieldOfView = 70
```

## Example: Scriptable Camera

```luau
local camera = workspace.CurrentCamera

camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = CFrame.lookAt(
    Vector3.new(0, 20, 30),
    Vector3.zero
)
camera.FieldOfView = 55
```
