Skip to main content

Unit bars

Dota 2 ยท Visual. Draws health and mana bars above enemy units where the game hides its own: in the fog of war, during a teleport, while tossed or otherwise without a bar. Optionally adds exact HP and MP numbers.

Also searched as: hp bars, hp bar in fog, hp bar, health bar, enemy health bar, enemy mana, hp in fog, enemy hp, how much hp does the enemy have, hp numbers, hp esp, bars, unit bars

Where to find it in the menuโ€‹

Visual โ†’ Unit bars

Inside are three sections: Health, Mana, Style.

How to enableโ€‹

  1. Menu (Insert) โ†’ Visual โ†’ Unit bars.
  2. The script is on by default. It is turned on and off with the header toggle of the page. While it is off, the other options are inactive.
  3. Numbers on the health bar are on by default, on the mana bar โ€” off. They are turned on with the header toggle of the Health and Mana sections.

What it doesโ€‹

Where bars are drawn

  • Only above enemy units: heroes (except regular illusions), Spirit Bear, Visage's Familiars and Brewmaster's spirits.
  • The script's bar is drawn only where the game does not show its own:
    • the enemy is in the fog of war, but their position is known;
    • the enemy is teleporting: the bar is drawn at the destination (even if the enemy is visible) and, if the enemy is in the fog, also at the point they are leaving from;
    • the enemy is visible, but the game removed the bar: tossed by Tiny (Toss), in Eul's Scepter / Wind Waker, turned into a tree (Monkey King), under Phantom Assassin's Blur, in Dark Willow's Shadow Realm.
  • There is no bar above dead units. At the end of the match the script draws nothing.

What it looks like

  • The bar mirrors the game's: health with segments, the mana bar below it (if the unit has mana). Heroes have an icon on the left and their level on the right.
  • Tint backing colors the backing under the bars in a color of your choice. This way the script's bar above an enemy in the fog stands apart from the game's bars.

Numbers

  • Numbers in the header of the Health or Mana section turns on the number on the bar. The bar itself is drawn either way.
  • Show numbers:
    • When hidden โ€” numbers only on the script's bars (enemy in the fog, teleporting, etc.);
    • Always โ€” numbers above visible enemies as well. Above them, only the numbers are drawn on top of the game's bar, without the script's bar.
  • The mana bar becomes taller to fit its number.

Preview on the page The page has a sample of the bars above a hero. Clicking a bar turns its number on or off; right-click opens its settings.

Settingsโ€‹

Main page

SettingTypeDefaultRange / optionsWhat it does
StateHeader toggle of the pageOnโ€”Turns the whole script on
Show numbersDropdownWhen hiddenWhen hidden, AlwaysAbove which enemies to show numbers (see "What it does")
Tint backing + Backing colorToggle + colorOff, dark blueโ€”Colors the backing under the bars in a color of your choice

Health

SettingTypeDefaultRange / optionsWhat it does
NumbersHeader toggle of the sectionOnโ€”Number on the health bar
TextDropdownHP / MaxHPOnly HP, HP / MaxHPWhat the number shows
Text settingsgear (settings) iconโ€”โ€”A separate number style for this bar (see below)

Mana

SettingTypeDefaultRange / optionsWhat it does
NumbersHeader toggle of the sectionOffโ€”Number on the mana bar
TextDropdownOnly MPOnly MP, MP / MaxMPWhat the number shows
Text settingsgear (settings) iconโ€”โ€”A separate number style for this bar (see below)

Style โ€” the shared style of numbers on both bars

SettingTypeDefaultRange / optionsWhat it does
FontDropdownDefaultDefault and the menu fonts"Default" โ€” the game's own numeric font
Text sizeSlider, %9570โ€“150Number scale. The mana bar grows to fit its number
WeightDropdownSemi-boldRegular, Medium, Semi-bold, BoldFont weight
Text colorColorWhiteโ€”Number color
Under textDropdownOutlineNone, Shadow, Outline, Soft shadowWhat is drawn under the letters
Effect colorColorBlackโ€”Shadow or outline color. Hidden with "None"
Text shade opacitySlider, %1000โ€“100How dense the effect is drawn. Hidden with "None"

Text settings โ€” gear (settings) icon in the Health and Mana sections

SettingTypeDefaultRange / optionsWhat it does
OverrideToggleOffโ€”Use a custom style for this bar instead of the "Style" section. Once turned on, the same options as in "Style" appear

FAQโ€‹

I don't see a bar above an enemy I can see. This is intended: the game draws its own bar above a visible enemy, and the script does not duplicate it. To see exact numbers above visible enemies too, set "Show numbers" โ†’ Always.

How do I tell the script's bar from the game's? Turn on "Tint backing" and choose a color. The backing under the script's bars will take that color.

There is no mana number. The mana number is off by default. Turn on Numbers in the header of the Mana section.

There are no bars above allies. The script only draws bars above enemies.