# ObjectDragInteraction class

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

```cs
public sealed class ObjectDragInteraction : IResponsive
```

Interaction object for dragging document objects around on a canvas.

## Constructors

- [ObjectDragInteraction](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.objectdraginteraction/ctor.md): Set up a new object drag interaction.

## Properties

- [Control](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.objectdraginteraction/control.md): Gets the control hosting this interaction.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.objectdraginteraction/count.md): Gets the number of objects associated with this interaction.
- [Document](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.objectdraginteraction/document.md): Gets the document associated with this interaction.
- [FirstPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.objectdraginteraction/firstpoint.md): Gets the anchor (or drag-source-point) for this interaction.
- [Responder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.objectdraginteraction/responder.md)
