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

# hasAttitude

A Boolean value that indicates whether the controller provides attitude data.

## Declaration

```swift
var hasAttitude: Bool { get }
```

## Discussion

Discussion true if the controller provides attitude data; otherwise, false.

## See Also

### Related Documentation

- [attitude](gamecontroller/gcmotion/attitude.md)

### Verifying Capabilities

- [hasRotationRate](gamecontroller/gcmotion/hasrotationrate.md)
- [hasGravityAndUserAcceleration](gamecontroller/gcmotion/hasgravityanduseracceleration.md)
- [hasAttitudeAndRotationRate](gamecontroller/gcmotion/hasattitudeandrotationrate.md)
