# duration

> MovieTexture has been removed. Use VideoPlayer instead.

## Definition

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

> **Warning:**
>
> **Removed.** MovieTexture is removed. Use VideoPlayer instead.

```csharp
public float duration { get; }
```

### Remarks

The time, in seconds, that the movie takes to play back completely.
