WebwalkSnapshot
A value shape that methods take or return.
Getting one
player:webwalk():snapshot()Fields
| Field | Type | Description |
|---|---|---|
index | number | Which of steps the walk is on, from 1; #steps + 1 once it has walked them all. |
steps | { RouteStep } | The route; a replan keeps it until the new one comes, a new walk starts empty. |
Returned by
| Method | Returns | Description |
|---|---|---|
Webwalk.snapshot | WebwalkSnapshot | The current route and the position in it. Read-only: this does not advance anything. |