Browse docsoutput.neutral
On this page
API method

output.neutral

Forces every button, stick axis, and trigger neutral for the current packet.

Syntax

Atlas Script
output.neutral()

Parameters

This method does not accept arguments.

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Forces every button, stick axis, and trigger neutral for the current packet. It does not mark touch or motion as overridden. The patch still flushes when on_input returns; output.commit is not required.

Examples

Usage pattern
// Call this method from the event that owns this work.
output.neutral();
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.