PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

HealthDisplayType

Humanoid

HumanoidHealthDisplayType

A side by side visualization of how HealthDisplayType impacts the behavior of the health bar's display
HealthDisplayType controls when a Humanoid|Humanoid's health bar is allowed to be displayed.

By default, this property is set to DisplayWhenDamaged, which makes the health bar only display when a humanoid’s Humanoid/Health is less than its Humanoid/MaxHealth. It can also be set to AlwaysOn, which makes the health bar always display, or AlwaysOff, which prevents it from ever displaying.

This property functions independently of the humanoid’s Humanoid/HealthDisplayDistance property, which is responsible for making the health bar fade out at certain distances. If the HealthDisplayType is set to AlwaysOn, it will still fade out depending the how the Humanoid/HealthDisplayDistance is configured.