# DestroyBatch(ReadOnlySpan<PhysicsHandle>)

> Destroy the specified span of PhysicsHandle. NOTE: If any of the handles come from another physics object, it will not destroy that object and a warning will be issued.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public static void DestroyBatch(ReadOnlySpan<PhysicsHandle> physicsHandles)
```

### Parameters

**** (\[ReadOnlySpan\<PhysicsHandle>]\(https\://learn.microsoft.com/dotnet/api/system.readonlyspan-1)): The physics handles to destroy.
