Get blood volume display color||doc135473

September 20, 2022

Format

 Entity:getShowHpColor() 
  • The class to which the function belongs:Entity

Description

The UI color of the progress bar for getting the HP value


Value Returned

type Description
int hex color value


Code Samples

on the client sideglobal script, get the UI color of the entity's HP value

local hpColor = this:getShowHpColor()