# Animated Action

{% embed url="<https://youtu.be/UR4pH60Rluo>" %}

## Creation

To create an animated action, find (or create) the *GameName/Resources/GameName/AnimatedAction* folder in the project tab and right click.  Choose *Create > AnyRPG > AnimatedAction*.

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2FEgQazVUxXtPZprJdcnzf%2Fimage.png?alt=media\&token=488179cd-fe3f-4dd9-b95a-419b23ca797a)

## Properties

| Name                   | Description                                                                                                                                                                                  |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Animation Clip         | The animation that the character will play when this action is performed.                                                                                                                    |
| Animation Profile Name | An animation profile containing animations.  The character will play the first cast clip when the action is performed.  This property is only used if the *AnimationClip* property is empty. |
| Casting Audio Profile  | The name of an audio profile containing an audio file to play when the action is performed.                                                                                                  |
| Holdable Object List   | A List of prefab profiles to spawn when the action is performed.                                                                                                                             |

## Usage

Animated actions can be used in the following scriptable objects.

* [ActionEffectItem](https://docs.anyrpg.org/scriptable-objects/items/action-effect-item)
* [PowerResourcePotion](https://docs.anyrpg.org/scriptable-objects/items/power-resource-potion)
