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

# hasGravityAndUserAcceleration

A Boolean value that indicates whether the controller provides gravity and user acceleration data.

## Declaration

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

## Discussion

Discussion true if the controller provides both gravity and user acceleration data; otherwise, false.

## See Also

### Related Documentation

- [gravity](gamecontroller/gcmotion/gravity.md)
- [userAcceleration](gamecontroller/gcmotion/useracceleration.md)

### Verifying Capabilities

- [hasAttitude](gamecontroller/gcmotion/hasattitude.md)
- [hasRotationRate](gamecontroller/gcmotion/hasrotationrate.md)
- [hasAttitudeAndRotationRate](gamecontroller/gcmotion/hasattitudeandrotationrate.md)
