-
Notifications
You must be signed in to change notification settings - Fork 40
Checkbox
Robert Jelic edited this page May 2, 2022
·
7 revisions
With checkbox, the user can set a bool to true or false
Here are all possible functions available for checkbox: Remember checkbox inherits from object:
Create a onChange event:
local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aCheckbox = mainFrame:addCheckbox("myFirstCheckbox"):onChange(function(self) basalt.debug("The value got changed into "..self:getValue()) end):show()
Thanks for checking out our wiki, join our discord for more help: discord.gg/yM7kndJdJJ