canvasEndPosition property

Vector2 canvasEndPosition
latefinalinherited

Event end 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 canvasEndPosition = _game.convertGlobalToLocalCoordinate(
  deviceEndPosition,
);