---
title: x
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcacceleration/x
---

# x

The acceleration measurement along the x-axis, in multiples of earth’s gravity.

## Declaration

```swift
var x: Double
```

## See Also

### Getting Acceleration Values

- [y](gamecontroller/gcacceleration/y.md)
- [z](gamecontroller/gcacceleration/z.md)
