Documentation

Unity Engine


Unity Engine


deltaPosition

Gets the difference between the pointer's position during the previous pointer event and its position during the current pointer event.
Read time 1 minuteLast updated a month ago

Definition

public Vector3 deltaPosition { get; protected set; }

Remarks

This value is based on IPointerEvent.position and is expressed in panel coordinates.