Area2D
Detects when things enter and exit it
Use it when
You want to create a perimeter that warns you when objects enter or exit it
Examples
- Attaching a hurt box to a character so it can take damage
- Attracting coins to the player when in range
- Opening a chest when standing next to it and pressing a button