* Checks if the given screen coordinates are on the map. * Not to be confused with map coordinates (This method does not convert screen coordinates to map coordinates). * @param x The x-coordinate on the screen. * @param y The y-coordinate on the screen.
(x: number, y: number)