Element Functions
Last updated
Last updated
Each signal is fired when a new value is set to an element.
Function | Return Type | Description |
---|---|---|
Function | Return Type | Description |
---|---|---|
Function | Return Type | Description |
---|---|---|
Keybinds have a connection "fully_activated" that is only fired if the toggle and keybind are active, or if either are deactivated. If no toggle is present, it will fire when the keybind is active. (fires true = both on, fires false = both off or one off).
Function | Return Type | Description |
---|---|---|
Function | Return Type | Description |
---|---|---|
Function | Return Type | Description |
---|---|---|
Function | Type | Description |
---|---|---|
Function | Return Type | Description |
---|---|---|
on_toggle_change
Connection
This signal is fired with the first argument being the new state of the toggle
set_toggle
None
Sets the toggle state to the first argument
on_value_change
Connection
This signal is fired with the first argument being the new value of the slider
set_value
Number
Sets the slider value to the first argument
on_selection_change
Connection
This signal is fired with no arguments
on_transparency_change
Connection
This signal is fired with the first argument being the new transparency of the colorpicker
set_transparency
None
Sets the colorpicker transparency to the first argument
on_color_change
Connection
This signal is fired with the first argument being the new color of the colorpicker
set_color
None
Sets the colorpicker color to the first argument
on_text_change
Connection
This signal is fired with the first argument being the new value of the textbox
set_text
None
Sets the textbox value to the first argument
on_selection_change
Connection
This signal is fired with the first argument being the new selected option of the multibox
remove_option
None
Removes the first argument (String) as an option from the multibox
add_option
None
Adds the first argument (String) as an option to the multibox
set_option
None
Sets the first argument (String or nil) to the selected option of the multibox
on_clicked
Connection
This signal is fired when the button is clicked in the menu
on_method_change
Connection
This signal is fired with the first argument being the new method of the keybind
on_key_change
Connection
This signal is fired with the first argument being the new key of the keybind
on_activated
Connection
This signal is fired with the first argument being the new state of the keybind
set_method
None
Sets the selected method to the first argument (Number)
set_key
None
Sets the selected key to the first argument (Enum.KeyCode)