Widget API: Button:IsEnabled

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API Button IsEnabled to API Button IsEnabled without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget API ← Button < IsEnabled

Returns whether a button is enabled or not.

isEnabled = button:IsEnabled();

ReturnsEdit

isEnabled
Number - 1 if the button is enabled, 0 otherwise.

NotesEdit

  • Disabled buttons cannot be clicked.