public override bool HandlesMouseDown(int mouseX, int mouseY, MouseButton button) { if (!HandlesAllInput || game.HideGui) { return(false); } if (!normalChat.Contains(mouseX, mouseY)) { if (altText.Active && altText.Contains(mouseX, mouseY)) { altText.HandlesMouseDown(mouseX, mouseY, button); UpdateAltTextY(); return(true); } input.HandlesMouseDown(mouseX, mouseY, button); return(true); } int height = normalChat.GetUsedHeight(); int y = normalChat.Y + normalChat.Height - height; if (GuiElement.Contains(normalChat.X, y, normalChat.Width, height, mouseX, mouseY)) { return(HandlesChatClick(mouseX, mouseY)); } return(false); }