# PED::_IS_ANIMAL_CONTROLLED_BY_A_PLAYER

- **Hash:** `0x0E2F43516F998269`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `IsAnimalControlledByAPlayer`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1311
- **URL:** https://natives.borderlinerp.com/natives/PED/_IS_ANIMAL_CONTROLLED_BY_A_PLAYER

## Signature

```c
BOOL _IS_ANIMAL_CONTROLLED_BY_A_PLAYER(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`BOOL`

## Description

Returns true only if it's a player ped and an animal as well.
_IS_ANY_* - _IS_CONTROL_*

## Usage

### Lua

```lua
local retval = IsAnimalControlledByAPlayer(ped)

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

### JavaScript

```js
const retval = IsAnimalControlledByAPlayer(ped);

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

### C#

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

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
