# DraggingMode enum

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 enum DraggingMode
```

Enumerates the various constraints on shape drag motion.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Default | 0 | Dragging mode is based on keyboard state. |
| Planar | 1 | Viewport dragging is allowed in the c-plane. |
| Ortho | 2 | Viewport draggin is allowed in the c-plane at specific angle multiples. |
| Normal | 3 | Viewport dragging is only allowed along the c-plane normal. |
