GetTouchPosition method

Vector2D GetTouchPosition(
  1. num index
)

Get touch position XY for a touch point index (relative to screen size)

Implementation

Vector2D GetTouchPosition(
  num index,
) => run(
  () => _debugLabels.GetTouchPosition(index),
  () => _flat.GetTouchPosition(
    index.toInt(),
  ),
);