# GH_Animator<T> class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_Animator<T>
```

Provides methods for animating values.

**Type parameters:**

- `T`: Data type to animate.

## Constructors

- [GH_Animator<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-animator-1/ctor.md): (2 overloads) Create a new instance of the generic animator.

## Properties

- [Interpolation](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-animator-1/interpolation.md): Gets or sets the interpolation mode. Changing the mode during an animation will result in discontinuous motion.
- [Phase](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-animator-1/phase.md): Gets the current animation phase.
- [ValueA](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-animator-1/valuea.md): Gets or sets the start value of the animation. This value is set from within the constructor though you can change it at any time.
- [ValueB](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-animator-1/valueb.md): Gets or sets the end value of the animation. This value is set from within the constructor though you can change it at any time.

## Methods

- [AdjustAnimation](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-animator-1/adjustanimation.md): (3 overloads) Adjust the animation.
- [CurrentValue](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-animator-1/currentvalue.md): Gets the current animated value.
