Skip to content

helix / Pos

Variable: Pos

Pos: (...coords) => PosValue & object

Defined in: core/values/pos.ts:73

Type Declaration

here

here: () => PosValue

~ ~ ~ - the executor's own position.

Returns

PosValue

local

local: (...coords) => PosValue

Local, relative to facing (^).

Parameters

coords

...number[]

Returns

PosValue

raw

raw: (text) => PosValue

Wrap a raw coordinate string (legacy escape hatch); renders verbatim.

Parameters

text

string

Returns

PosValue

rel

rel: (...coords) => PosValue

Relative to the executor (~).

Parameters

coords

...number[]

Returns

PosValue

Released under the MIT License · Credits