On this page
API type

accel

Latest controller accelerometer values, available directly inside on_input.

Syntax

Atlas Script
accel

Return value

See the remarks for the returned value and runtime behavior.

Remarks

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

Examples

Usage pattern
// accel 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.