# Sandbox.SubtitleTrack.WordIndexAt

```csharp
int WordIndexAt(float time)
```

Index into [Sandbox.SubtitleTrack.Words](/api/Sandbox.SubtitleTrack/Words) of the latest word to have started at this
time, or -1 before the first word. Words up to here have been spoken -
that's the karaoke highlight. The word may have already ended; it's still
being spoken while time is before its [Sandbox.SubtitleTrack.Word.EndTime](/api/Sandbox.SubtitleTrack.Word/EndTime).

### Parameters

- `time` (`float`)

### Returns

`int`

Declared in [Sandbox.SubtitleTrack](/api/Sandbox.SubtitleTrack).
Assembly: `Sandbox.Engine`.
