# deltaPosition

> The position delta since last change in pixel coordinates.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.InputLegacyModule

```csharp
public Vector2 deltaPosition { get; set; }
```

### Remarks

The absolute position of the touch is recorded periodically and available in the [Touch.position](/engine/6000.6/script-reference/unityengine/touch/position.md) property. The deltaPosition value is a Vector2 in pixel coordinates that represents the difference between the touch position recorded on the most recent update and that recorded on the previous update. The [Touch.deltaTime](/engine/6000.6/script-reference/unityengine/touch/deltatime.md) value gives the time that elapsed between the previous and current updates; you can calculate the touch's speed of motion by dividing deltaPosition.magnitude by [Touch.deltaTime](/engine/6000.6/script-reference/unityengine/touch/deltatime.md).

Additional Resources: [Touch.deltaTime](/engine/6000.6/script-reference/unityengine/touch/deltatime.md).
