API CheckButton GetChecked

104,552pages on
this wiki
Add New Page
Add New Page Talk0
Widget API ← CheckButton < GetChecked

Returns the current checked state of the button.

isChecked = CheckButton:GetChecked()

Arguments Edit


Returns Edit

boolean - 'true' if the button state is checked. Default is 'false'.

Notes Edit

  • As of 6.0.2, return value type was changed to the Lua native boolean type, instead of a WoW Flag style Boolean (1 for a checked button, nil otherwise).

See also Edit

Also on Fandom

Random Wiki