set_button
function can enable or disable a button in a screen.set_button [buttonId] [true, greyed, hidden or false]
true
: Makes the button enabled and clickable (as long as clicking it is allowed, see screen buttons interaction tags)false
: Makes the button completely disabled and hiddengreyed
: Makes the button disabled and greyed. It will be visible with semi-opacity, but not clickablehidden
: Same as false