On this page
output.button
Alias for output.set_button with the same per-packet behavior, default down=true.
Syntax
Atlas Script
output.button(button, down?)Parameters
button- Controller button name or platform constant to read or change.
downOptional- Boolean button state: true presses the selected button and false releases it.
Return value
See the remarks for the returned value and runtime behavior.
Remarks
Alias for output.set_button with the same per-packet behavior, default down=true.
Examples
Usage pattern
// Replace button, down with values described above.
output.button(button, down);