# Once

> When time reaches the end of the animation clip, the clip will automatically stop playing and time will be reset to beginning of the clip.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
Once = 1
```

### Remarks

Note that when playing backwards and when the time reaches the beginning the clip will automatically stop playing, but the time won't be reset to the end - it will be kept at the beginning.

Additional Resources: [AnimationState.wrapMode](/engine/6000.0/script-reference/unityengine/animationstate/wrapmode.md), [AnimationState.time](/engine/6000.0/script-reference/unityengine/animationstate/time.md), [AnimationState.speed](/engine/6000.0/script-reference/unityengine/animationstate/speed.md) properties.
