canvasStartPosition property

Vector2 canvasStartPosition
latefinalinherited

Event start position in the coordinate space of the game widget, i.e. relative to the game canvas.

This could be considered the Flame-level global position.

Implementation

late final Vector2 canvasStartPosition =
    _game.convertGlobalToLocalCoordinate(deviceStartPosition);