On this page
output.set_stick_x
Overrides only the X axis on the left or right stick for this packet, clamped to -100 through 100.
Syntax
Atlas Script
output.set_stick_x(stick, x)Parameters
stick- Stick selector that identifies the stick to read or change.
x- Horizontal component or X coordinate for the requested operation.
Return value
See the remarks for the returned value and runtime behavior.
Remarks
Overrides only the X axis on the left or right stick for this packet, clamped to -100 through 100.
Examples
Usage pattern
// Replace stick, x with values described above.
output.set_stick_x(stick, x);