public static bool GetMouseButton(int button) { if (GuiConsole.ConsoleOpen) { return(false); } return(MouseManager.GetMouseButton(button)); }