# GripMotion enum

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

```cs
public enum GripMotion
```

Restricts the directions in which a grip may be dragged.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Free | 0 | The grip may move in any direction. |
| Horizontal | 1 | The grip may only move horizontally. |
| Vertical | 2 | The grip may only move vertically. |
