# PED::IS_PED_HEADTRACKING_ENTITY

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

## Signature

```c
BOOL IS_PED_HEADTRACKING_ENTITY(Ped ped, Entity entity);
```

## Parameters

- `ped` (`Ped`)
- `entity` (`Entity`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsPedHeadtrackingEntity(ped, entity)

-- always available, by hash
local retval = Citizen.InvokeNative(0x813A0A7C9D2E831F, ped, entity, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsPedHeadtrackingEntity(ped, entity);

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x813A0A7C9D2E831F, ped, entity);
```

*Sources: alloc8or RDR3 NativeDB.*
