# Clear()

> Removes all pooled items and invokes the pool's action on destroy callback for each item in the pool.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Pool](/engine/6000.5/script-reference/unityengine/pool.md)
* **Assembly:** UnityEngine.CoreModule

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

### Remarks

The action on destroy callback is the delegate passed to the constructor as the optional `actionOnDestroy` parameter.
