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