# ResponseRotationArgs class

Namespace: [Grasshopper2.UI.Flex](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.flex.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class ResponseRotationArgs
```

Rotation gesture payload delivered to [Responses](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responses.md) handlers. Carries the cursor location in both Control and Content coordinate systems plus the per-tick rotation delta in degrees.

## Constructors

- [ResponseRotationArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responserotationargs/ctor.md)

## Properties

- [ContentLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responserotationargs/contentlocation.md): Cursor location in content-space (the host's projected coordinates).
- [ControlLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responserotationargs/controllocation.md): Cursor location in raw control-space pixels.
- [IsNewGesture](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responserotationargs/isnewgesture.md): True when this activation appears to start a new rotation session — i.e. the time since the previous activation exceeded the FlexControl-internal gap threshold. Use this to reset per-session accumulators.
- [Rotation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responserotationargs/rotation.md): Rotation delta for this activation, in degrees. Positive values indicate clockwise rotation. This is the change since the last activation, not the absolute rotation since the gesture began.

## Methods

- [Invalidate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responserotationargs/invalidate.md): Schedule a redraw on the hosting control.
