CheckButton:GetChecked

From Warcraft Wiki
Jump to navigation Jump to search

Returns true if the checkbutton is checked.

checked = CheckButton:GetChecked()

Returns

checked
boolean - true if the check button is checked, false otherwise.

Details

  • When a CheckButton is clicked, the state will already be toggled by the time the OnClick handler runs.