Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
An on / off switch.
boolean
nil
section:AddToggle(key: string?, label: string, default: boolean?): ToggleHandle
toggle:SetState(value: boolean): ()
SetValue(value)
toggle:Toggle(): ()
OnChange
local enabled = section:AddToggle("enabled", "Enabled", false) enabled:OnChange(function(on) print("enabled:", on) end) enabled:Toggle() print(enabled:GetValue()) -- flipped