Browse docsoutput.press
On this page
API method

output.press

Presses one button for the current input packet.

Syntax

Atlas Script
output.press(button)

Parameters

button
Controller button name or platform constant to read or change.

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Presses one button for the current input packet. Most held mappings should call set_button(button, condition) every packet.

Examples

Usage pattern
// Replace button with values described above.
output.press(button);
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.