# Sandbox.DebugOverlaySystem.Text

## Overload 1

```csharp
void Text(Vector3 position, string text, float size = 32, TextFlag flags = 132, Color color = null, float duration = 0, bool overlay = False)
```

Draw text in the world

### Parameters

- `position` (`Vector3`)
- `text` (`string`)
- `size` (`float`), default `32`
- `flags` (`TextFlag`), default `132`
- `color` (`Color`), default `null`
- `duration` (`float`), default `0`
- `overlay` (`bool`), default `False`

## Overload 2

```csharp
void Text(Vector3 position, Scope scope, TextFlag flags = 132, float duration = 0, bool overlay = False)
```

Draw text in the world

### Parameters

- `position` (`Vector3`)
- `scope` (`Scope`)
- `flags` (`TextFlag`), default `132`
- `duration` (`float`), default `0`
- `overlay` (`bool`), default `False`

Declared in [Sandbox.DebugOverlaySystem](/api/Sandbox.DebugOverlaySystem).
Assembly: `Sandbox.Engine`.
