> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/api/functions/hudrenderer.drawstring.md).

# hudRenderer.drawString

### Call Signature

> **drawString**(`x`, `y`, `text`, `color`): `void`

Draws a string at the given position using the current HUD font.

#### Parameters

**x**

`number`

The x position.

**y**

`number`

The y position.

**text**

`string`

The string to draw.

**color**

[`Color`](/api/breeze/util/color.md)

The color of the text.

#### Returns

`void`

### Call Signature

> **drawString**(`x`, `y`, `text`, `color`, `shadow`): `void`

Draws a string at the given position using the current HUD font, with optional shadow.

#### Parameters

**x**

`number`

The x position.

**y**

`number`

The y position.

**text**

`string`

The string to draw.

**color**

[`Color`](/api/breeze/util/color.md)

The color of the text.

**shadow**

`boolean`

Whether to draw a drop shadow.

#### Returns

`void`
