screenToWorld method

  1. @override
Vector2 screenToWorld(
  1. Vector2 position
)
override

This method convert screen position to word position

Implementation

@override
Vector2 screenToWorld(Vector2 position) {
  return camera.screenToWorld(position);
}