# Editor.ToolRender.DrawLine

## Overload 1

```csharp
static void DrawLine(Vector3 start, Vector3 end, Color startColor, Color endColor)
```

### Parameters

- `start` (`Vector3`)
- `end` (`Vector3`)
- `startColor` (`Color`)
- `endColor` (`Color`)

## Overload 2

```csharp
static void DrawLine(Vector3 start, Vector3 end, Color color)
```

### Parameters

- `start` (`Vector3`)
- `end` (`Vector3`)
- `color` (`Color`)

Declared in [Editor.ToolRender](/api/Editor.ToolRender).
Assembly: `Sandbox.Tools`.
