i was not really sure what to call it, but here the method i use for Divine utility. Method returns a position under your mouse.
public Position findUnderMouse() {
if (getMouse().isWithinCanvas()) {
Area area = myPlayer().getArea(25);
area.setPlane(getMap().getPlane());
for (Position pos: area.getPositions()) {
if(pos.isVisible(getBot()) && pos.getPolygon(getBot()).contains(mouse.getPosition())) {
return pos;
}
}
}
return null;
}