Add* methods here to add toggles, sliders, color pickers, and the rest. Submenu and Options have the same methods.
Pass nil for key if you don’t want the control’s value saved between sessions. Button is unsaved by default.
AddToggle
string?
Save name. Stored as
luau.{api.name}.{key}.string
required
Row label.
boolean
default:"false"
Starting value.
AddSlider
AddDropdown
AddColorpicker
number
Pass a value to enable the transparency slider (
0–1).ColorpickerHandle
See Colorpicker.
AddKey
AddList
AddCurveEditor
CurveEditorHandle
See CurveEditor.