# Follow

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

[Camera Follow 2D](/ref/camera.CameraFollow2D.md) moves its virtual camera after [Target](/ref/camera.CameraFollow2D.html#camera.CameraFollow2D.Target.md).

The target moves freely inside the **Deadzone**, a part of the view; (0.4, 0.4, 0.2, 0.2) is a centred fifth. Outside it the camera catches up at the speed set by **Damping**, and 0 follows rigidly.

**Lookahead** moves the camera ahead of a moving target, by that many seconds of its velocity. **Max Lookahead** limits how far, and **Lookahead Smoothing** how fast it changes. When the target jumps further than **Snap Distance**, for example after a teleport, the camera moves at once.

Every field, with its unit, is listed on the [Camera Follow 2D](/ref/camera.CameraFollow2D.md) page.

![Camera Follow 2D selected: the yellow deadzone, the line to the target and the bounds](shots/camera-follow.png)

The camera follows the interpolated pose of a physics body, so it is smooth at any frame rate. Damping is exponential: a camera at 30, 60 and 144 frames per second ends up in the same place. When the target teleports, call `Snap()` on the component, or let Snap Distance catch it.

In Try it, the ball rolls down a long ramp. Set Damping to 0 for a rigid camera, or widen the Deadzone to let the ball run ahead.
