On this page
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();