# MouseDrag

> Mouse was dragged.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UICommonModule

```csharp
MouseDrag = 3
```

### Remarks

The mouse was moved with a button held down - a mouse drag. Use [\_mousePosition](/engine/6000.7/script-reference/unityengine/event/mouseposition.md) and [\_delta](/engine/6000.7/script-reference/unityengine/event/delta.md) to determine mouse motion.
