# Hurtbox 2D

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

```
component gameplay.Hurtbox2D
```

Area where hitboxes damage a Health: on this node or on its nearest parent with Health.

## Fields

| Name | Script name | Type | Default | Description |
|---|---|---|---|---|
| Area | `Area` | `Rect` | `(-0.5, -0.5, 1, 1)` | Rectangle in this node's space. |
| Shape | `Shape` | `enum` | `box` | box uses the rectangle; circle uses the circle inside it. |
| Multiplier | `Multiplier` | `float` | `1` | Damage taken here is multiplied by this, for weak spots and armour. |
| Active | `Active` | `bool` | `true` | Off ignores hits. |
| Health | `Health` | `NodeRef` | `none` | Health that takes the damage. Empty uses this node or its nearest parent with Health. |
