Browse docsoutput.button
On this page
API method

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.
down Optional
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);
Reference details are generated from the Atlas Script schema in this documentation source snapshot. Confirm release-specific behavior in the Atlas for Windows build you use.