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

# x

The value for the x-axis of the quaternion.

## Declaration

```swift
var x: Double
```

## See Also

### Getting Quaternion Values

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