Documentation

Unity Engine


Unity Engine


mouseDelta

Gets the difference between the mouse's position during the previous mouse event and its position during the current mouse event.
Read time 1 minuteLast updated 16 days ago

Definition

public Vector2 mouseDelta { get; protected set; }

Remarks

This value is based on IMouseEvent.mousePosition and is expressed in panel coordinates.