# lifetime

> The lifetime of the particle.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ParticleSystemModule

> **Warning:**
>
> **Deprecated.** Please use Particle.remainingLifetime instead.
>
> **Upgrade to** [ParticleSystem.Particle.remainingLifetime](/engine/6000.7/script-reference/unityengine/particlesystem/particle/remaininglifetime.md)

```csharp
public float lifetime { get; set; }
```

### Remarks

This is the time in seconds for how long this particle remains alive. When the lifetime drops below zero the system destroys the particle.
