# TestOverlapShapeProxy(ShapeProxy, QueryFilter)

> Test if the provided shape proxy overlaps any shapes.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public bool TestOverlapShapeProxy(PhysicsShape.ShapeProxy shapeProxy, PhysicsQuery.QueryFilter filter)
```

### Parameters

**** (\[ShapeProxy]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape/shapeproxy)): The shape proxy to use. This must be in world-space.**** (\[QueryFilter]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsquery/queryfilter)): The filter to control the result returned.

### Returns

| Type                                                          | Description                     |
| ------------------------------------------------------------- | ------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | If the query overlaps anything. |
