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

# z

The value for the z-axis of the quaternion.

## Declaration

```swift
var z: Double
```

## See Also

### Getting Quaternion Values

- [x](gamecontroller/gcquaternion/x.md)
- [y](gamecontroller/gcquaternion/y.md)
- [w](gamecontroller/gcquaternion/w.md)
