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

# w

The value for the w-axis of the quaternion.

## Declaration

```swift
var w: Double
```

## See Also

### Getting Quaternion Values

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