Set Button
The set_button function allows enabling and disabling interactive buttons in screens
The
set_button
function can enable or disable a button in a screen.Syntax:
set_button [buttonId] [true, greyed, hidden or false]
Example:
set_button parkButton true
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 asfalse
Last modified 8mo ago