# Virtual cameras

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

Each frame the brain picks one virtual camera per output:

1. The enabled virtual camera with the highest [Priority](/ref/camera.VirtualCamera2D.html#camera.VirtualCamera2D.Priority.md). Equal priorities pick the camera created first.
2. A [Camera Zone 2D](/ref/camera.CameraZone2D.md) with the target inside lifts its camera to the zone's priority. On a tie the zone beats an ordinary camera, and the zone entered later beats an earlier one.
3. `camera.BlendTo` and `camera.Cut` override everything until `camera.Release`.

The pose comes from the virtual camera's node: its interpolated position and rotation, and [Zoom](/ref/camera.VirtualCamera2D.html#camera.VirtualCamera2D.Zoom.md), where 0 keeps the zoom of the Camera 2D. A Camera Follow 2D on the same node replaces the position. The node's transform is never changed; the camera only moves the view.

In Try it, the Director script raises **Close**, then **Tilt**, for two seconds each, and the view blends to them and back. Change Zoom, Blend Time or Blend Curve of Close in the Inspector and watch the next blend; the script is under the scene.

## Blends

When another camera becomes active, the view blends from the pose it shows now to the new camera over its [Blend Time](/ref/camera.VirtualCamera2D.html#camera.VirtualCamera2D.BlendTime.md), shaped by [Blend Curve](/ref/camera.VirtualCamera2D.html#camera.VirtualCamera2D.BlendCurve.md). A switch during a blend starts from the current view, never from the old camera. Zoom blends evenly on screen. Blend Time 0 cuts.

## Bounds

[Use Bounds](/ref/camera.VirtualCamera2D.html#camera.VirtualCamera2D.UseBounds.md) keeps the visible area inside [Bounds](/ref/camera.VirtualCamera2D.html#camera.VirtualCamera2D.Bounds.md), a world rectangle. When the area is smaller than the view on an axis, the view is centred on it there.
