Appearance
helix / Pos
Variable: Pos โ
Pos: (...
coords) =>PosValue&object
Defined in: core/values/pos.ts:117
An absolute position, e.g. Pos(10, 64, -3). Pos.rel gives ~, Pos.local gives ^, and Pos.here() is ~ ~ ~.
Type Declaration โ
abs โ
abs: (
n) =>Coord
One absolute axis (0) inside an otherwise relative/local vector.
Parameters โ
n โ
number
Returns โ
caret โ
caret: (
n) =>Coord
One local axis (^n).
Parameters โ
n โ
number
Returns โ
exact โ
exact: (...
coords) =>PosValue
Absolute, pinned to the exact coordinate (0.0) instead of the block centre.
Parameters โ
coords โ
...CoordArg[]
Returns โ
here โ
here: () =>
PosValue
~ ~ ~ - the executor's own position.
Returns โ
local โ
local: (...
coords) =>PosValue
Local, relative to facing (^).
Parameters โ
coords โ
...CoordArg[]
Returns โ
raw โ
raw: (
text) =>PosValue
Wrap a raw coordinate string (legacy escape hatch); renders verbatim.
Parameters โ
text โ
string
Returns โ
rel โ
rel: (...
coords) =>PosValue
Relative to the executor (~).
Parameters โ
coords โ
...CoordArg[]
Returns โ
tilde โ
tilde: (
n) =>Coord
One relative axis (~n) inside an otherwise absolute vector.
Parameters โ
n โ
number