# How to use parametrized animation sequences in a state in an animation blueprint?

**URL:** <https://forums.unrealengine.com/t/how-to-use-parametrized-animation-sequences-in-a-state-in-an-animation-blueprint/563583>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, UE4-27, Blueprint, question\
**Created:** [May 22, 2022, 5:09pm UTC](https://forums.unrealengine.com/t/how-to-use-parametrized-animation-sequences-in-a-state-in-an-animation-blueprint/563583 "2022-05-22T17:09:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DukeSternutation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DukeSternutation](https://forums.unrealengine.com/u/DukeSternutation)\
**Post date:** [May 22, 2022, 5:09pm UTC](https://forums.unrealengine.com/t/how-to-use-parametrized-animation-sequences-in-a-state-in-an-animation-blueprint/563583/1 "2022-05-22T17:09:27Z")

</div>

Hello all,

I need a way for a spell attack animation that is tied to a state to be parametrized, because said animation will vary based on what the spell attack is.

Unfortunately I cannot figure out a way to do this. While I can easily drag and drop animation sequences into the state and tie them to the pose, I cannot do the exact same thing with a parameter of type animation sequence.

I am sharing an image to describe what I mean -

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/1/3b1fdab21bb34dde55de5c317b7a5b7578a7b62b.jpeg)

MP Firing Animation is the parametrized animation sequence.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/6/b6617a95a84024020ef6487abfc545ebd408aea1.png)

So I can drag and drop animation sequences from the bottom right but can’t do the exact same thing with a parametrized sequence.

Also cannot find any “Play Animation Sequence” node in Blueprint. The only thing I get is “Random Sequence Player”.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/6/d2615ef53c8cd3b3f98fbc732030f94eee75614e.png)

---

<div class="post-metadata">

**Author:** ![S-ed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-ed/32/1194558_2.png) [@S-ed](https://forums.unrealengine.com/u/S-ed)\
**Post date:** [May 22, 2022, 5:57pm UTC](https://forums.unrealengine.com/t/how-to-use-parametrized-animation-sequences-in-a-state-in-an-animation-blueprint/563583/2 "2022-05-22T17:57:16Z")

</div>

You can use “Blend Multy” node. Remember that many nodes allow you to add more inputs than they have by default:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/1/611878cce489ef7cf5d8e0a45d61c2a67343dfea.png)

---

<div class="post-metadata">

**Author:** ![DukeSternutation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DukeSternutation](https://forums.unrealengine.com/u/DukeSternutation)\
**Post date:** [May 22, 2022, 6:47pm UTC](https://forums.unrealengine.com/t/how-to-use-parametrized-animation-sequences-in-a-state-in-an-animation-blueprint/563583/3 "2022-05-22T18:47:06Z")

</div>

Hello,

Unfortunately, that does not work. What I need is for MP Firing Animation to hook onto the Output Animation Pose.

Basically, instead of using “Play Tutorial\_Idle”, I want to have something like “Play MP Firing Animation”(where MP Firing Animation is the name of the argument variable) and hook that into the Output Animation Pose.

Essentially, MP Firing Animation is a container for animation sequences like “Tutorial\_Idle”. I want whatever anim sequence is stored in this container to be the input to the output animation pose.

---

<div class="post-metadata">

**Author:** ![S-ed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-ed/32/1194558_2.png) [@S-ed](https://forums.unrealengine.com/u/S-ed)\
**Post date:** [May 22, 2022, 8:44pm UTC](https://forums.unrealengine.com/t/how-to-use-parametrized-animation-sequences-in-a-state-in-an-animation-blueprint/563583/4 "2022-05-22T20:44:20Z")

</div>

Oh. My bad. It is simple. Drop Any animation on the grid, and expose it as Pin. Then Connect the pin to your variable.

 ![LS_2022-05-22_23-01_507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/1/63108d922794c0a9986b0f729145754bec989537.png)  
 ![LS_2022-05-22_23-19_459](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/e/c7ee6c478d6f2506ca80c1e531110bab49af8b75.png)

But it has few potential issues, such as:

- its not type safe, means, UE4 can’t verify if your Anim Sequence is for this skeleton
- it can be broken if the sequence changed during play, cause UE4 has a lot of processes under the hood, such as caching, anim events etc

Just be careful with it.
