# length

> Current duration of the state.

## Definition

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

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

### Remarks

In seconds Can vary when the State contains a Blend Tree.
