# DestroyProxy(ProxyHandle)

> Destroy a space proxy.

## Definition

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

```csharp
public bool DestroyProxy(PhysicsSpace.ProxyHandle proxyHandle)
```

### Parameters

**** (\[ProxyHandle]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsspace/proxyhandle)): The proxy to destroy.

### Returns

| Type                                                          | Description                                                                             |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | If the proxy was destroyed. If the proxy handle is invalid, no proxy will be destroyed. |
