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

Definition

Vector2 mouseDelta { get; }

Remarks

This value is based on _mousePosition and is expressed in panel coordinates.