worldToScreen method

Vector2 worldToScreen(
  1. Vector2 argWorld
)

Takes the world coordinate and returns the screen coordinates.

Implementation

Vector2 worldToScreen(Vector2 argWorld) => viewport.worldToScreen(argWorld);