Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


localMousePosition

The mouse position in the current target coordinate system.
Read time 1 minuteLast updated 10 days ago

Definition

Vector2 localMousePosition { get; }

Remarks

The value of this property changes throughout the propagation process for each element receiving the event along the propagation path.
Additional Resources: _currentTarget