> 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/renderer.drawline.md).

# renderer.drawLine

> **drawLine**(`start`, `end`, `color`, `width`, `depth`): `void`

Draws a straight line between two world positions.

### Parameters

#### start

[`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3.md)

The start position in world coordinates.

#### end

[`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3.md)

The end position in world coordinates.

#### color

[`Color`](https://scripting.breeze.rip/api/breeze/util/color.md)

The line color.

#### width

`number`

The line width in pixels (0.1-64).

#### depth

`boolean`

Whether the line is hidden behind blocks.

### Returns

`void`
