Mouse Target is a lightweight, highly customizable addon that displays the name of the unit currently under your cursor.
🌟 Key Features
Dynamic Identification
Instantly shows the names of players and NPCs when hovering over them or their nameplates.
Smart Coloring
Players: Uses class colors (Warrior, Mage, etc.) for instant recognition.
NPCs: Reaction-based coloring (Hostile, Neutral, Friendly), including a special override for quest or special units.
Custom Mode: Option to force a single, consistent color for a minimalist aesthetic.
Combat Filters
Configure the addon to automatically hide enemies, allies, or NPCs while in combat, keeping your UI clean during critical moments.
Full Customization
Accessible via the native Blizzard options menu, allowing you to adjust:
Font & Style: Size, outlines, shadows, and font choice (compatible with LibSharedMedia).
Positioning: Adjust the distance (offset) from the cursor and set the anchor point (Top, Bottom, Left, Right).
Name Abbreviation: Toggle for shortening long NPC names to reduce visual clutter.
Frame Exclusion
Built-in logic to detect if the mouse is over a unit frame (portrait) vs. the game world or nameplates, preventing unnecessary overlaps.
âš¡ Efficiency & Performance
Ultra-Lightweight: Designed with strict optimization principles, this addon consumes negligible memory and CPU resources.
Event-Driven: The core logic only triggers when your mouseover target changes (UPDATE_MOUSEOVER_UNIT), avoiding unnecessary background processing.
Optimized OnUpdate: Position tracking only runs while a valid unit is under the cursor, ensuring smooth performance without impacting your FPS.