screenToWorld method

Vector2 screenToWorld(
  1. Vector2 position
)

Implementation

Vector2 screenToWorld(Vector2 position) {
  return topleft + (position / zoom);
}