# Sandbox.ParticleEmitter.DestroyOnEnd

```csharp
bool DestroyOnEnd { get; set; }
```

Whether to destroy the GameObject when the emitter finishes (only applies when Loop is false)

Declared in [Sandbox.ParticleEmitter](/api/Sandbox.ParticleEmitter).
Assembly: `Sandbox.Engine`.
