Returns the button's current state

Signature:

state = Button:GetButtonState()

Returns:

  • state - State of the button (string)
    • DISABLED - Button is disabled and cannot receive user input
    • NORMAL - Button is in its normal state
    • PUSHED - Button is pushed (as during a click on the button)