# Sandbox.DebugOverlaySystem.Sphere

```csharp
void Sphere(Sphere sphere, Color color = null, float duration = 0, Transform transform = null, bool overlay = False)
```

Draw a sphere

### Parameters

- `sphere` (`Sphere`)
- `color` (`Color`), default `null`
- `duration` (`float`), default `0`
- `transform` (`Transform`), default `null`
- `overlay` (`bool`), default `False`

Declared in [Sandbox.DebugOverlaySystem](/api/Sandbox.DebugOverlaySystem).
Assembly: `Sandbox.Engine`.
