Appearance
spool / Locator
Interface: Locator โ
Defined in: plugins/locator/index.ts:15
The handle locator returns.
Methods โ
ensure() โ
ensure(
ctx):void
Defined in: plugins/locator/index.ts:19
Summons the marker here if it's missing.
Parameters โ
ctx โ
FunctionContext
Returns โ
void
moveTo() โ
moveTo(
ctx,point):void
Defined in: plugins/locator/index.ts:21
Moves the marker to point, read at its scale: three storage stores and one entity write.
Parameters โ
ctx โ
FunctionContext
point โ
ScoreVec3
Returns โ
void
read() โ
read(
ctx,into):void
Defined in: plugins/locator/index.ts:25
Reads the marker's position into into, at its scale.
Parameters โ
ctx โ
FunctionContext
into โ
ScoreVec3
Returns โ
void
selector() โ
selector():
Selector
Defined in: plugins/locator/index.ts:17
The marker, by UUID.
Returns โ
Selector
toEyes() โ
toEyes(
ctx):void
Defined in: plugins/locator/index.ts:23
Moves the marker to the executing entity's eyes.
Parameters โ
ctx โ
FunctionContext
Returns โ
void