# PingPong

> When time reaches the end of the animation clip, time will ping pong back between beginning and end.

## Definition

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

```csharp
PingPong = 4
```

### Remarks

It has same behaviour when playing backwards - when time reaches the beginning of the animation clip, time will ping pong back between beginning and end. The animation will never automatically stop playing.

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.
