# sm.visualization.drawLine

Adds a builderguide connection guide line between two points.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.visualization.drawLine( startingPoint, endPoint, color? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.visualization.md#drawline)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `startingPoint` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The starting point for the line. |
| `endPoint` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The end point for the line. |
| `color` *(optional)* | [Color](../Game-Script-Environment/Userdata/Color.md) | The color for the line. Defaults to yellow. (Optional) |
