LM_CheckBox:Value()

Version added: before 9.5
Returns whether the box is checked or not

Return value:

bool Returns true if the box is checked, false otherwise
This method returns whether the box is checked or not.
Example:
local IsOn = MyCheckBox:Value()
print(tostring(IsOn))

Result:
Image

Value printed to the console


See also: LM.GUI.CheckBox, LM_CheckBox:SetValue
<< Back to LM_CheckBox