Package net.storm.api.game
Interface IWorldMap
public interface IWorldMap
Provides access to world map functionality.
This interface allows converting mouse positions on the world map to actual game world coordinates.
-
Method Summary
Modifier and TypeMethodDescriptionnet.runelite.api.coords.WorldPointGets the world coordinates corresponding to the current mouse position on the world map.
-
Method Details
-
getMouseLocation
net.runelite.api.coords.WorldPoint getMouseLocation()Gets the world coordinates corresponding to the current mouse position on the world map.This converts the mouse canvas position to world map coordinates based on the current map zoom level and center position. The conversion only works when the world map is open.
- Returns:
- the world coordinates at the mouse position, or null if the world map is not open or the mouse is outside the map bounds
-