isEnabled

var Button.isEnabled: Boolean

Enable or disable a Button by setting its touchable and color properties, or returns the corresponding state.

Do not confuse with Gdx' builtin isDisabled property, which is more appropriate to toggle On/Off buttons, while this one is good for 'click-to-do-something' buttons.

Sources

jvm source
Link copied to clipboard