Coordinate
| Property | Type | Writable | Description |
|---|---|---|---|
X | number | Read-only | X coordinate in the tile grid. |
Y | number | Read-only | Y coordinate in the tile grid. |
Z | number | Read-only | Z coordinate in the tile grid. |
| Function |
|---|
GetHorizontalDistanceTo(other: Coordinate): number |
Calculates the horizontal distance to another coordinate.
Uses 2D Euclidean distance (ignoring Z coordinate). |