# GH_Motion class

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

```cs
public class GH_Motion
```

Provides functionality for individual rectangle animation.

## Constructors

- [GH_Motion](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/ctor.md): (2 overloads) Constructor. Create a new stack keyframe animator.

## Properties

- [CurrentBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/currentbox.md): Gets the rectangle that describes the shape of the box at the current instant.
- [FinalBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/finalbox.md): Gets the dimensions of the stack box at t=1
- [InitialBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/initialbox.md): Gets the dimensions of the stack box at t=0
- [InMotion](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/inmotion.md): Gets the motion state of this object.
- [Interpolation](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/interpolation.md): Gets or sets the interpolation method for blending frames.
- [Parameter](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/parameter.md): Gets the normalised time frame parameter for the current instant.
- [t0](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/t0.md): Gets the start time for this animation.
- [t1](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/t1.md): Gets the stop time for this animation.

## Methods

- [ResizeContainer](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.stacks.gh-motion/resizecontainer.md): Call this function to override the width or height without interfering with the animation.
