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 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Vector3 deltaPosition { get; protected set; }
Remarks
This value is based on IPointerEvent.position and is expressed in panel coordinates.