Paths
Paths define ordered movement or routing patterns in a Document. Use them for patrol routes, camera paths, platform motion, guided NPC movement, or any sequence of directional steps your game should understand.
Each Path is made of Path Steps. A Path Step stores its position and a direction.
Path Step fields
| Field | Value |
|---|---|
| X | number |
| Y | number |
| Direction | Up, Down, Left, Right |
Adding a Path
- Select the Path tool. Keyboard shortcut: P.
- Click to add the first Path Step.
- Use the path overlay to add more steps.
- Adjust step positions and directions until the route matches your intent.
Tips
- Name Paths based on what uses them, such as
guard_patrolormoving_platform_loop. - Keep one Path focused on one route. Separate routes are easier to inspect and export.
- Put Paths inside Rooms when the route belongs to a specific area.