---
title: rotation
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsrotationgesturerecognizer/rotation
---

# rotation

The rotation of the gesture in radians.

## Declaration

```swift
var rotation: CGFloat { get set }
```

## Discussion

Discussion This property contains the current rotation in effect for the gesture. Changing the value in this property also updates the value in the rotationInDegrees property.

## See Also

### Interpreting the Gesture

- [rotationInDegrees](appkit/nsrotationgesturerecognizer/rotationindegrees.md)
