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

# x

The rotation rate around the x-axis in radians per second.

## Declaration

```swift
var x: Double
```

## Discussion

Discussion The sign of the rotation follows the right-hand rule. If you point your right thumb along the positive axis, the curl of your other fingers points in the positive direction around that axis.

## See Also

### Getting Rotation Rate Values

- [y](gamecontroller/gcrotationrate/y.md)
- [z](gamecontroller/gcrotationrate/z.md)
