# Sandbox.Component.IDamageable.DyingEvent.CreateRagdoll

```csharp
bool CreateRagdoll { get; set; }
```

Whether to create the victim's usual ragdoll. For NPCs, this gates the base Die implementation's
call to CreateRagdoll; custom death effects are unaffected.

Declared in [Sandbox.Component.IDamageable.DyingEvent](/api/Sandbox.Component.IDamageable.DyingEvent).
Assembly: `Sandbox.Engine`.
