# Transition is working in state machine, but i want to play animation with first frame

**URL:** <https://forums.unrealengine.com/t/transition-is-working-in-state-machine-but-i-want-to-play-animation-with-first-frame/337639>\
**Category:** Character & Animation\
**Tags:** State-Machine, unreal-engine, UE4, CPP, question, Blueprint\
**Created:** [November 6, 2015, 9:35am UTC](https://forums.unrealengine.com/t/transition-is-working-in-state-machine-but-i-want-to-play-animation-with-first-frame/337639 "2015-11-06T09:35:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f6510c82](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f6510c82](https://forums.unrealengine.com/u/anonymous_user_f6510c82)\
**Post date:** [November 6, 2015, 9:35am UTC](https://forums.unrealengine.com/t/transition-is-working-in-state-machine-but-i-want-to-play-animation-with-first-frame/337639/1 "2015-11-06T09:35:41Z")

</div>

Forgive me, my poor English Skills.  
Please, help… I’m so embarrassed.

I organied State Machine in Animation Blue Print as the below.

1. Idle : Loop
2. Attack : No Loop

And state transition using a variable( etc. animType ).  
The animation for each state has is playing well.

But, I find the problem.

When “Attack → Idle” is working,  
changed variable for transition to Attack,  
Attack animation is not play the first frame.

When “Attack → Idle” is finished,  
changed variable for transition to Attack,  
Attack animation is play the first frame.

I want to Attack animation is play the first frame at “Attack → Idle” is working,

How can i fix it?
