# Sandbox.Npcs.Layers.SpeechOptions.Duration

```csharp
System.Nullable<float> Duration { get; set; }
```

How long the line lasts, in seconds. Null for its natural length: a sound's own, or three seconds for a
line of text. A sound whose length is known always lasts that long.

Declared in [Sandbox.Npcs.Layers.SpeechOptions](/api/Sandbox.Npcs.Layers.SpeechOptions).
Assembly: `Sandbox.Engine`.
