# Pickup 2D

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

```
component gameplay.Pickup2D
```

Fires Collected when a node enters the area; with Once the pickup then disappears.

## Fields

| Name | Script name | Type | Default | Description |
|---|---|---|---|---|
| Area | `Area` | `Rect` | `(-0.5, -0.5, 1, 1)` | Rectangle in this node's space. |
| Tag | `Tag` | `string` | `""` | Only nodes with this tag; empty accepts every node with Motion 2D. |
| Once | `Once` | `bool` | `true` | Removes the pickup after the first collection. |
| Despawn | `Despawn` | `bool` | `false` | Returns the pickup to its pool instead of destroying it. |

## Collected

```
signal Collected(by NodeRef)
```

Fires with the node that took the pickup.
