# Sandbox.Sprite.AnimationState.IsPingPonging

```csharp
bool IsPingPonging
```

Whether or not the animation is currently ping-ponging. This is only relevant for animations that have [Sandbox.Sprite.LoopMode.PingPong](/api/Sandbox.Sprite.LoopMode/PingPong)

Declared in [Sandbox.Sprite.AnimationState](/api/Sandbox.Sprite.AnimationState).
Assembly: `Sandbox.Engine`.
