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