new UICheckbox(pos, size, checked, text, color)uiSystem.js:1594Create a UICheckbox object
UICheckbox - A UI object that acts as a checkbox
Extends UIObject
new UICheckbox(pos, size, checked, text, color)uiSystem.js:1594Create a UICheckbox object
checked : booleanuiSystem.js:1611Is the checkbox currently checked?
text : stringuiSystem.js:1614The label shown beside the box
click(playSound)uiSystem.js:1620Toggle the checkbox, called when it is clicked
playSound boolean optional, default true