# PED::SET_PED_CAN_LEG_IK

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

## Signature

```c
void SET_PED_CAN_LEG_IK(Ped ped, BOOL toggle);
```

## Parameters

- `ped` (`Ped`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedCanLegIk(ped, toggle)

-- always available, by hash
Citizen.InvokeNative(0x73518ECE2485412B, ped, toggle)
```

### JavaScript

```js
SetPedCanLegIk(ped, toggle);

// by hash
Citizen.invokeNative('0x73518ECE2485412B', ped, toggle);
```

### C#

```csharp
Function.Call((Hash)0x73518ECE2485412B, ped, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
