# ResponseMouseArgs 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 ResponseMouseArgs
```

Mouse event payload delivered to [Responses](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responses.md) handlers. Mirrors `MouseEventArgs` but carries the cursor location in both Control and Content coordinate systems, holds a reference to the host control, and exposes an [ResponseMouseArgs.Invalidate()](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/invalidate.md) method that schedules a redraw without the responder having to subscribe to a separate event.

## Constructors

- [ResponseMouseArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/ctor.md): (2 overloads) Wrap a raw Eto MouseEventArgs from the host control. The wrapped event is assumed to carry the cursor location in Control (raw pixel) space — the Content-space location is computed lazily on first access via the host's projection. Do not pass an Eto event whose Location has already been mapped to Content space.

## Properties

- [Buttons](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/buttons.md): Pressed mouse buttons.
- [ContentLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/contentlocation.md): Cursor location in content-space (the host's projected coordinates). Computed lazily from [ResponseMouseArgs.ControlLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/controllocation.md) via the host's projection on first access. Equals [ResponseMouseArgs.ControlLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/controllocation.md) when there is no host (standalone Eto controls).
- [ControlLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/controllocation.md): Cursor location in raw control-space pixels.
- [Delta](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/delta.md): Wheel delta (zero for non-wheel events).
- [Handled](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/handled.md): Whether this event has been marked handled. Mutating this also mutates the underlying Eto event so the original raise-site sees the change.
- [Modifiers](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/modifiers.md): Keyboard modifiers pressed during the event.
- [Pressure](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/pressure.md): Pen pressure (0..1) for pressure-sensitive input devices.
- [UnderlyingEtoEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.responsemouseargs/underlyingetoeventargs.md): Underlying Eto MouseEventArgs for handlers that still need it.

## Methods

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