# Editor.SliderDrawing.DrawTrack

```csharp
static void DrawTrack(Rect rect, float start, float end, Color highlight, bool disabled = False)
```

Draws the track and selected interval. Endpoint positions are measured from the left of rect,
at the centers of the handles.

### Parameters

- `rect` (`Rect`)
- `start` (`float`)
- `end` (`float`)
- `highlight` (`Color`)
- `disabled` (`bool`), default `False`

Declared in [Editor.SliderDrawing](/api/Editor.SliderDrawing).
Assembly: `Sandbox.Tools`.
