# IsAlive

> Does the Particle System contain any live particles, or will it produce more?

## Definition

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

## IsAlive(bool)

Does the Particle System contain any live particles, or will it produce more?

```csharp
public bool IsAlive(bool withChildren)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Check all child Particle Systems as well.

### Returns

| Type                                                          | Description                                                                                                                                                                     |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the Particle System contains live particles or is still creating new particles. False if the Particle System has stopped emitting particles and all particles are dead. |

## IsAlive()

Does the Particle System contain any live particles, or will it produce more?

```csharp
public bool IsAlive()
```

### Returns

| Type                                                          | Description                                                                                                                                                                     |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the Particle System contains live particles or is still creating new particles. False if the Particle System has stopped emitting particles and all particles are dead. |
