localX property

double localX

The x-coordinate of the mouse in the display object's coordinate system.

Implementation

double get localX => localPosition.x;