public static bool showOverlay(Point p) { if (ConfigFile.DisableOverlay) { Log.Write("Overlay has been forced off, it will not show", Color.Gray); return false; } overlay = new Overlay {Location = new Point(p.X, p.Y)}; overlay.Show(); shown = true; return shown; }