Documentation

Unity Engine


User Manual

Script Reference

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 14 days ago

Definition

Vector2 mouseDelta { get; }

Remarks

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