— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Icon | Property | Description |
---|---|---|
Button Type | Determines whether the button will have standard behavior or if it will behave as a toggle button (i.e. the button toggles between an “on” and “off” state each time it's pressed). | |
Button Action | Determines what action will be taken when the button is pressed (only applicable to the “Standard” button type). The available options are to run a script, close the parent widget, craft a new item into a storage slot using any populated input slots, or craft a specific item using the player's inventory. | |
Script | Script that will be triggered when the button is clicked. This option is only available when the button type is “Toggle” or the button type is “Standard” with an action of “Run Script”. For toggle buttons, a local variable named $pressed will be available to your script. It will have a value of either true or false according to the new state of the button. | |
Item | ||
Image | Image that will be displayed on the button. If an image is specified, it will appear to the left of the button text. | |
Text | ||
Text Alignment | ||
Font | ||
Font Size |