Keybind
Updated for version 3.36.
It's recommended to first read about the base item before reading about other items https://luffyyy.gitbook.io/beardlib/menuui/menuui-item
Keybind
Creation
Parameters
Parameter | Return Type | Description |
---|---|---|
value | String | The keybind key. Defaults to none |
supports_keyboard | Boolean | Should the item listen to the keyboard? Defaults to true and the value can be inherited |
supports_mouse | Boolean | Should the item listen to the mouse? Defaults to false and the value can be inherited |
Functions
Get
Function | Return Type | Description |
---|---|---|
Value() | String | Returns the keybind as a string |
GetKeyBind() | Idstring | Returns the keybind but in idstring form |
Set
Function | Description |
---|---|
SetValue(String value, Boolean run_callback) | Sets the value of the item. |
Last updated