# Clear

> Remove all particles in the Particle System.

## Definition

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

## Clear(bool)

Remove all particles in the Particle System.

```csharp
public void Clear(bool withChildren)
```

### Parameters

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

### Remarks

This method also removes the particles from any linked sub-emitters. Use the withChildren parameter to remove particles from child Particle Systems that are not sub-emitters of the system.

## Clear()

Remove all particles in the Particle System.

```csharp
public void Clear()
```

### Remarks

This method also removes the particles from any linked sub-emitters. Use the withChildren parameter to remove particles from child Particle Systems that are not sub-emitters of the system.
