# Sandbox.SpriteRenderer.CurrentAnimation

```csharp
Animation CurrentAnimation { get; set; }
```

The animation that is currently being played. Returns null if no sprite is set or the sprite has no animations.

Declared in [Sandbox.SpriteRenderer](/api/Sandbox.SpriteRenderer).
Assembly: `Sandbox.Engine`.
