# AnimationProgressEventArgs class

Namespace: [Grasshopper2.Animation](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.animation.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class AnimationProgressEventArgs : EventArgs
```

Progress of a running animation. Raised once per frame, on the thread driving the animation rather than the user interface thread.

## Properties

- [Animation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/animation.md): Gets the animation being run.
- [Elapsed](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/elapsed.md): Gets how long the run has been going.
- [Files](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/files.md): Gets the images this frame wrote, by full path. Two entries when a run captures both the viewport and the canvas, and none when the frame failed or was skipped.
- [Frame](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/frame.md): Gets the zero-based index of the frame which just finished.
- [FrameCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/framecount.md): Gets the total number of frames in the run.
- [Message](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/message.md): Gets a description of anything which went wrong with this frame, or an empty string.
- [Progress](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/progress.md): Gets the normalised progress of the run.
- [Remaining](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/remaining.md): Gets an estimate of the time left, based on the frames actually computed so far.
- [Skipped](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/skipped.md): Gets whether this frame was already on disk and therefore skipped.
- [Values](https://developer.rhino3d.com/api/gh2/type/grasshopper2.animation.animationprogresseventargs/values.md): Gets what each animated object was set to for this frame, one entry per object, already written out for reading. Empty for a frame which was skipped, since a skipped frame sets nothing.
