Toggle
Toggle
Creation
MyRandomMenu:Toggle({
name = "MyToggle",
text = "This is a toggle",
value = true,
on_callback = function(item)
log("I was toggled to", tostring(item:Value()))
end
})Parameters
Parameter
Type
Description
Functions
Get
Function
Return Type
Description
Set
Function
Description
Last updated