---
title: attitude
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcmotion/attitude
---

# attitude

The attitude of the controller.

## Declaration

```swift
var attitude: GCQuaternion { get }
```

## Discussion

Discussion The attitude is the orientation of a body relative to the controller’s reference frame.

## See Also

### Accessing Attitude and Rotation Data

- [GCQuaternion](gamecontroller/gcquaternion.md)
- [rotationRate](gamecontroller/gcmotion/rotationrate.md)
- [GCRotationRate](gamecontroller/gcrotationrate.md)
- [GCEulerAngles](gamecontroller/gceulerangles.md)
