widget property

Vector2 widget
latefinal

Coordinates of the event relative to the game widget position/size

Implementation

late final Vector2 widget = _game.convertGlobalToLocalCoordinate(global);