screenToWorld method

Vector2 screenToWorld(
  1. Vector2 argScreen
)

Takes the screen coordinates (argScreen) and returns the world coordinates.

Implementation

Vector2 screenToWorld(Vector2 argScreen) => viewport.screenToWorld(argScreen);