# TASK::_IS_PED_BEING_LED

- **Hash:** `0xAC5045AB7F1A34FD`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `IsPedBeingLed`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/_IS_PED_BEING_LED

## Signature

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

## Parameters

- `ped` (`Ped`)

## Returns

`BOOL`

## Description

*Source: alloc8or RDR3 NativeDB*

Returns true if the given ped (usually a horse) is currently being led by a ped (lead/rope).
Mirrors usage with _IS_PED_LEADING_HORSE(ped) and _GET_LED_HORSE_FROM_PED(ped).

*Source: VORPCORE RDR3natives*

returns true if the specified mount (horse) is currently being led by the player, otherwise false.

## Usage

### Lua

```lua
local retval = IsPedBeingLed(ped)

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

### JavaScript

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

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xAC5045AB7F1A34FD, 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, VORPCORE RDR3natives.*
