# Sandbox.SubtitlesGameObjectSystem

Knows which subtitle lines are being spoken in this scene right now. Sounds
carry their own subtitle tracks ([Sandbox.SoundFile.Subtitles](/api/Sandbox.SoundFile/Subtitles), authored in
the sound editor) - `M:Sandbox.SubtitlesGameObjectSystem.GetActive(System.Collections.Generic.List{Sandbox.SubtitlesGameObjectSystem.Line})` samples the ones playing in this
scene. The built-in overlay renders them word by word; to draw your own UI
instead, turn off "Show UI" in the project's platform settings and build it
on this system.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.GameObjectSystem<T>](/api/Sandbox.GameObjectSystem<T>)
- Modifiers: sealed

## Constructors

- [`SubtitlesGameObjectSystem`](/api/Sandbox.SubtitlesGameObjectSystem/.ctor)

## Methods

- [`GetActive`](/api/Sandbox.SubtitlesGameObjectSystem/GetActive)
- [`Show`](/api/Sandbox.SubtitlesGameObjectSystem/Show): Show a subtitle that isn't attached to a sound - scripted dialogue, a radio voice you're streaming, whatever. The text is split into words spread over the duration, so it highlights word by word like a sound's subtitle track does. Main thread only.
