# drawDepth

> The depth this body is drawn at, in world space, along the axis perpendicular to the world's transform plane.

## Definition

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

```csharp
public float drawDepth { readonly get; set; }
```

### Remarks

The depth is only used when the body has no [PhysicsBody.transformObject](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/transformobject.md). See [PhysicsBody.drawDepth](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/drawdepth.md).
