# CreateShapeProxy(bool)

> Create a shape proxy from the shape.

## Definition

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

```csharp
public PhysicsShape.ShapeProxy CreateShapeProxy(bool useWorldSpace = false)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether to create the shape proxy in world-space or not. World-space will transform by the body origin the shape is attached to.

### Returns

| Type                                                                                                   | Description |
| ------------------------------------------------------------------------------------------------------ | ----------- |
| [ShapeProxy](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape/shapeproxy.md) |             |
