Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

route

route<Point>(points): NamedRoute<Point>

Names a route’s points, in the order it walks them: route({ stall: [3, 0, -2], well: [8, 0, -6] }).

Type Parameter
Point extends string
Parameter Type
points Readonly<Record<Point, RoutePoint>>

NamedRoute<Point>