# Transition between states help required

**URL:** <https://forums.unrealengine.com/t/transition-between-states-help-required/362761>\
**Category:** Character & Animation\
**Tags:** unreal-engine, state-machines, question\
**Created:** [July 2, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/transition-between-states-help-required/362761 "2016-07-02T21:04:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steross1981](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@steross1981](https://forums.unrealengine.com/u/steross1981)\
**Post date:** [July 2, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/transition-between-states-help-required/362761/1 "2016-07-02T21:04:23Z")

</div>

Hi I am trying to get anAI enemy to transition between Idle/WalkRun state to a punching state upon being within a certain range of the player. I do not know how to create the transititon rule for this to occur. I am very new to unreal so any help would be very much appreciated.  
Thanks Guys.
