# deltaPosition

> Gets the difference between the pointer's position during the previous mouse event and its position during the current mouse event.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public Vector3 deltaPosition { get; protected set; }
```
