# Sandbox.SpriteRenderer.OnAnimationEnd

```csharp
System.Action<string> OnAnimationEnd { get; set; }
```

This action is invoked when an animation finishes playing or has looped. The string parameter is the name of the animation.

Declared in [Sandbox.SpriteRenderer](/api/Sandbox.SpriteRenderer).
Assembly: `Sandbox.Engine`.
