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

# z

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

## Declaration

```swift
var z: Double
```

## See Also

### Getting Acceleration Values

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