Skip to main content
Sliders update while dragging and snap numeric values to Step. They register with Quick Commands automatically.

Numeric slider

Boolean slider

Use SliderType = "bool":
The boolean implementation stores 0 and 1, and displays Off / On.

Rich text

Slider labels and description tooltips support Roblox rich-text markup by default:
Set RichText = false on the slider config or inside Info to opt out.

Configuration

string
default:"\"Slider\""
Slider label.
string
Tooltip text shown instantly while hovering the slider row. Use \n for line breaks.
boolean
default:"true"
Enables rich-text markup for the slider label and description tooltip. Set to false to opt out. Info.RichText is also accepted.
number
default:"0"
Numeric minimum. Boolean sliders override this to 0.
number
default:"100"
Numeric maximum. Boolean sliders override this to 1.
number | boolean
Initial value. Numeric sliders default to Min. Boolean defaults normalize to 0 or 1.
number
default:"1"
Numeric snap interval. Boolean sliders force Step = 1.
"number" | "bool"
default:"\"number\""
Selects numeric or boolean behavior.
boolean
default:"false"
Persists the slider value under Settings[commandId]. InternalInfo.Save = true and Settings.save = true on the component config are also accepted.
string
Stable Quick Commands and persistence ID.
boolean
default:"false"
Adds a right-click keybind menu. In the current implementation, a bindable boolean slider can toggle through its keybind callback. A numeric slider exposes the binding UI but does not use the assigned keybind to set a numeric value.
boolean
default:"false"
Adds a persisted startup flag to the right-click menu. The slider itself is not automatically executed from that flag during initialization.
string[]
Alternate Quick Commands names. Info.Aliases and InternalInfo.Aliases are also recognized.
function
Receives the current stored slider value. Numeric sliders pass a number; boolean sliders pass 0 or 1.

Persistence

When Save is enabled, the library loads a previously saved value before using Default:
The saved value is stored in:

Quick Commands

Numeric sliders accept one numeric argument:
Boolean sliders accept on, off, true, false, 1, or 0:
With no argument, a numeric slider reapplies its current value and a boolean slider toggles its current state.

Returned handle