# SetProxyAABB(ProxyHandle, PhysicsAABB, bool)

> Set the proxy AABB.

## Definition

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

```csharp
public void SetProxyAABB(PhysicsSpace.ProxyHandle proxyHandle, PhysicsAABB aabb, bool updateAncestors)
```

### Parameters

**** (\[ProxyHandle]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsspace/proxyhandle)): The proxy to set.**** (\[PhysicsAABB]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsaabb)): The AABB to set the proxy to.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): If the AABB has simply moved then this should be false however if you have changed its size then you should update the space ancestors which takes more time.
