localMousePosition
The mouse position in the current target coordinate system.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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