# PED::CAN_PED_RAGDOLL

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

## Signature

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

## Parameters

- `ped` (`Ped`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = CanPedRagdoll(ped)

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

### JavaScript

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

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

### C#

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

## See also

- [PED::IS_PED_RAGDOLL](https://natives.borderlinerp.com/natives/PED/IS_PED_RAGDOLL.md) — If the ped handle passed through the parenthesis is in a ragdoll state this will return true.

*Sources: alloc8or RDR3 NativeDB.*
