Created with Tab:AddSection. Use the 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
section:AddToggle(key: string?, label: string, default: boolean?): ToggleHandle
Save name. Stored as luau.{api.name}.{key}.
AddSlider
section:AddSlider(
key: string?,
label: string,
default: number,
min: number,
max: number,
step: number,
prefix: string?,
suffix: string?
): SliderHandle
AddDropdown
section:AddDropdown(key: string?, label: string, options: { string }, default: string | { string }?): DropdownHandle
AddColorpicker
section:AddColorpicker(key: string?, label: string, default: Color3 | ColorSequence?, transparency: number?): ColorpickerHandle
Pass a value to enable the transparency slider (0–1).
AddKey
section:AddKey(key: string?, label: string, default: Enum.KeyCode | Enum.UserInputType?, mode: KeyMode?): KeyHandle
AddList
section:AddList(key: string?, label: string, items: { string | ListItem }?, default: string?): ListHandle
AddCurveEditor
section:AddCurveEditor(key: string?, label: string, min: number, max: number, default: { CurvePoint }?): CurveEditorHandle
section:AddButton(label: string, icon: string?): ButtonHandle
A clickable button, no saved value. See Button.
section:AddSubmenu(key: string?, label: string?): SubmenuHandle
A nested popout holding more controls. See Submenu.
AddOptions
section:AddOptions(key: string?, label: string?): OptionsHandle
A small inline group of controls. See Options.