Browse docsoutput.set_stick_x
On this page
API method

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);
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.