A transparent, clickable, resizable, always-on-top overlay framework for .NET 8 powered by ImGui.NET
Designed for game ESPs, visual overlays, cheat menus, or diagnostic UIs.
Created by [BRUUUH]
- Transparent + topmost Form overlay
- Fully clickable or click-through (toggle with
F1) - ImGui.NET rendering (no unsafe code, no D3D required)
- Dual positioning system: raw
Vector2or anchor keywords like"bottom center" - Draw helpers: text, lines, boxes, circles
- Toggle overlay visibility with
F2 - Auto-follow target process (e.g. games, emulators)
- Default watermark:
OverlaySharp by BRUUUH - Lightweight, NuGet-ready architecture
dotnet add package OverlaySharp- Clone/download this repo
- Build in Release
- Reference
OverlaySharp.dllin your own project
using OverlaySharp;
using ImGuiNET;
using System.Drawing;
using System.Numerics;
public class MyESP : Overlay
{
public MyESP() : base(new OverlayConfig()) {}
protected override void Render()
{
OverlayDraw.DrawText("top center", "OverlaySharp by BRUUUH", Color.LimeGreen);
OverlayDraw.DrawBox(new Vector2(100, 200), 150, 80, Color.Red);
OverlayDraw.DrawLine("bottom left", "top right", Color.Yellow, 1.5f);
OverlayDraw.DrawCircle("center", 60, Color.Aqua);
}
}using System.Diagnostics;
using System.Windows.Forms;
var proc = Process.GetProcessesByName("HD-Player").FirstOrDefault();
if (proc == null) return;
var overlay = new MyESP();
overlay.AttachTo(proc.MainWindowHandle);
Application.Run(overlay);Replace
"HD-Player"with the name of your target process (game, emulator, etc.)
OverlaySharp supports anchor keywords to easily position elements without using raw coordinates.
Examples:
"top left","top center","top right""middle left","center"/"middle center","middle right""bottom left","bottom center","bottom right"
Or use raw:
new Vector2(300, 500)| Method | Description |
|---|---|
OverlayDraw.DrawText(pos, string, Color) |
Draws text |
OverlayDraw.DrawBox(pos, width, height, Color) |
Draws rectangle |
OverlayDraw.DrawLine(start, end, Color) |
Draws a line |
OverlayDraw.DrawCircle(center, radius, Color) |
Draws circle |
Position can be either:
Vector2- or anchor string like
"bottom right"
| Key | Action |
|---|---|
F1 |
Toggle click-through (mouse passthrough) |
F2 |
Toggle visibility (show/hide overlay) |
- .NET 8.0 SDK
- Windows OS (WinForms base)
ImGui.NETpackage (already referenced internally)
OverlaySharp.DirectXfor high-performance renderingDrawHealthBar,DrawFilledBox, and advanced ESP helpers- Streamer mode (
SetWindowDisplayAffinity) - Runtime UI settings / config panel