Appearance
spool / ButtonSlot
Interface: ButtonSlot โ
Defined in: plugins/gui/types.ts:29
A slot holding a locked item that acts as a button.
onClick runs at the GUI, with host to reach its slots. clicker is the player who took the button; it matches nobody if the button was dropped out of the menu.
Properties โ
at โ
readonlyat:number
Defined in: plugins/gui/types.ts:30
button โ
readonlybutton:ItemValue
Defined in: plugins/gui/types.ts:31
Methods โ
onClick() โ
onClick(
ctx,host,clicker):void
Defined in: plugins/gui/types.ts:32
Parameters โ
ctx โ
FunctionContext
host โ
clicker โ
Selector
Returns โ
void