# length

> Declares the length in seconds of this GeneratorInstance instance, if known.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Audio](/engine/6000.6/script-reference/unityengine/audio.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
public DiscreteTime? length { get; }
```

### Remarks

Additional Resources: [\_length](/engine/6000.6/script-reference/unityengine/audio/generatorinstance/icapabilities/length.md)
