Element Object Options
Last updated
Last updated
Argument Name | Expected Value | Description |
---|---|---|
Signal Name | Return Value | Description |
---|---|---|
Argument Name | Expected Value | Description |
---|---|---|
Signal Name | Return Value | Description |
---|---|---|
Argument Name | Expected Value | Description |
---|---|---|
Signal Name | Return Value | Description |
---|---|---|
Argument Name | Expected Value | Description |
---|---|---|
Signal Name | Return Value | Description |
---|---|---|
Argument Name | Expected Value | Description |
---|---|---|
Argument Name | Expected Value | Description |
---|---|---|
Signal Name | Return Value | Description |
---|---|---|
Argument Name | Expected Value | Description |
---|---|---|
Signal Name | Return Value | Description |
---|---|---|
default
boolean
The default state of the toggle
onToggleChange
boolean
Fires when the toggles state is changed with the first arg being the state
no_none
boolean
Whether or not one option must be selected at all times
default
table
A table containing the default selected options
multi
boolean
Whether or not you are able to select multiple options
onDropdownChange
table
Fires when the dropdowns options selection changes the first arg being a table of the currently selected options
decimal
integer
The amount of decimals in the value allowed on the slider
default
integer
The default value of the slider
prefix
string
Text that is displayed before the value on the slider
suffix
string
Text that is displayed after the value on the slider
max
integer
The maximum value allowed on the slider
min
integer
The minimum value allowed on the slider
onSliderChange
integer
Fires when the slider's value is changed with the first arg being the value
default_transparency
integer
The default transparency of the colorpicker
default
color3
The default color of the colorpicker
onColorChange
color3, integer
Fires when the colorpicker's color or transparency is changed with the first arg being the color and second being the transparency
callback
function
The function that is ran upon clicking the button
method_locked
boolean
Whether or not to allow changing the keybind method
method
integer
The default keybind method (1, 2 or 3)
key
Enum.KeyCode
The default key for the keybind
onActiveChange
boolean
Fires when the keybind is activated or deactivated
search
boolean
Whether or not the search bar is visible and usable
max
integer
The maximum amount of options allowed to display before becoming scrollable
onSelectionChange
string
Fires when the selected option in the multibox is changed with the first argument being the option