# GraffitiAnimatorContainer
Class Inherits GraffitiAnimatorObject
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Android
| 32-Bit | 64-Bit |
| :---: | :---: |
| False | True |
### Console
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
### iOS
| 32-Bit | 64-Bit |
| :---: | :---: |
| False | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Delegates
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Sub | AnimationComplete | (None) | Delegate function definition for when animation has completed. |
| Sub | AnimationProgress | (None) | Delegate function for reporting animation progress. |
| Sub | AtKeyframe | (None) | Delegate function for reporting when a keyframe has been encountered. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Function | AddKeyframe | As | Adds a new keyframe. |
| Function | AddKeyframe | As | Adds a new keyframe. |
| Function | AddKeyframe | As | Adds a new keyframe. |
| Function | AddOperation | As | Adds a new animation operation to the stack. |
| Sub | Constructor | (None) | Instantiates a new instance of the class. |
| Sub | Destructor | (None) | |
| Function | Move | As | Moves the control to the specified position. |
| Function | OnComplete | As | Invokes the provided delegate when all animation has completed. |
| Function | OnKeyframe | As | Invokes the provided delegate when the animation encounters a keyframe. |
| Function | OnProgress | As | Invokes the provided delegate as animation operations progress. |
| Function | Play | As | Plays the provided animation stack, optionally destructs itself when complete. |
| Function | Resize | As | Resizes the RectControl using the specified values. |
| Function | Shake | As | Causes the RectControl to shake violently along the X-axis. |
| Function | Stop | As | Cancels all running animations and immediately applies the requested end values for those operations. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| State | GraffitiAnimator.States | Nil | The current running state of the animator. |
| Target | DesktopContainer | Nil | The UI element to be animated. |