# Checkpoint 2D

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

```
component gameplay.Checkpoint2D
```

Sets the respawn point of a node with Respawn that enters the area.

## Fields

| Name | Script name | Type | Default | Description |
|---|---|---|---|---|
| Area | `Area` | `Rect` | `(-1, -2, 2, 4)` | Rectangle in this node's space. |
| Priority | `Priority` | `int` | `0` | A checkpoint does not replace one with a higher priority. |
| Once | `Once` | `bool` | `false` | Works for the first node only. |
| Spawn Point | `SpawnPoint` | `NodeRef` | `none` | Node whose position becomes the respawn point. Empty uses this checkpoint's position. |

## Reached

```
signal Reached(by NodeRef)
```

Fires when a node takes this checkpoint.
