@Override
    public void mouseMoved(MouseEvent mouse) {
        Tool tool = controls.getTool();
        //spravy
        if (tool.compatible(ToolTarget.message)) {
            if (selectedMessage != null) {
                selectedMessage.selected = 0;
            }
            selectedMessage = graph.getMessage(mouseGetX(mouse), mouseGetY(mouse));
            if (selectedMessage != null) {
                selectedMessage.selected = 5;
            }
        }
        GUI.gRepaint();
    }