# ENTITY::GET_ENTITY_HEALTH

- **Hash:** `0x82368787EA73C0F7`
- **Namespace:** ENTITY
- **Runtime name (Lua/JS):** `GetEntityHealth`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ENTITY/GET_ENTITY_HEALTH

## Signature

```c
int GET_ENTITY_HEALTH(Entity entity);
```

## Parameters

- `entity` (`Entity`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetEntityHealth(entity)

-- always available, by hash
local retval = Citizen.InvokeNative(0x82368787EA73C0F7, entity, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetEntityHealth(entity);

// by hash
const retval = Citizen.invokeNative('0x82368787EA73C0F7', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x82368787EA73C0F7, entity);
```

## See also

- [ENTITY::_CHANGE_ENTITY_HEALTH](https://natives.borderlinerp.com/natives/ENTITY/_CHANGE_ENTITY_HEALTH.md) — Alters entity's health by 'amount'.
- [ENTITY::SET_ENTITY_HEALTH](https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_HEALTH.md) — Sets the entity's health.

*Sources: alloc8or RDR3 NativeDB.*
