On this page
API type

gyro

Latest controller gyro values, available directly inside on_input.

Syntax

Atlas Script
gyro

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Latest controller gyro values, available directly inside on_input. Check gyro.available before relying on gyro.x/y/z.

Examples

Usage pattern
// gyro is available where its documented API returns or accepts this value.
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.