# How to use the Notify of an Animation Sequence inside a Rule/Transition between States?

**URL:** <https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669>\
**Category:** Character & Animation\
**Tags:** unreal-engine\
**Created:** [May 2, 2020, 5:45am UTC](https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669 "2020-05-02T05:45:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7b0cdea2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7b0cdea2](https://forums.unrealengine.com/u/anonymous_user_7b0cdea2)\
**Post date:** [May 2, 2020, 5:45am UTC](https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669/1 "2020-05-02T05:45:43Z")

</div>

I want to tell, to Unreal Engine, that when the animation ends (at the moment of the Notify) it can enter the transition.

 ![Test--Unreal-Editor-5_2_2020-7_42_36-AM.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/8/986eadaf1d16047a66e63e41146726d9e8850ca7.jpeg)

How do I connect the two?

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [May 2, 2020, 6:03am UTC](https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669/2 "2020-05-02T06:03:00Z")

</div>

Can’t work like that.  
Notifies have no guarantee of ever running “at the end” or at any given time frame.

You can set a boolean in the animation graph based on the notify, and transition into the state when that boolean is set accordingly.  
You’ll need _something_ to switch that boolean back of or you’ll keep on being sent back to this state.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7b0cdea2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7b0cdea2](https://forums.unrealengine.com/u/anonymous_user_7b0cdea2)\
**Post date:** [May 2, 2020, 6:16am UTC](https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669/3 "2020-05-02T06:16:29Z")

</div>

animation graph = Event Graph? 🙂

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [May 2, 2020, 6:58am UTC](https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669/4 "2020-05-02T06:58:08Z")

</div>

I suppose it’s labeled event graph, but you have event graphs everywhere inside of any blueprint… the one you have to use here is (somewhat obviously) the animation blueprint one.

---

<div class="post-metadata">

**Author:** ![TEKK3N\_BRO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TEKK3N\_BRO](https://forums.unrealengine.com/u/TEKK3N_BRO)\
**Post date:** [May 2, 2020, 8:46am UTC](https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669/5 "2020-05-02T08:46:49Z")

</div>

You should make a Blueprint Interface.  
Inside the Interface create a new Function called “Breathing”, add an Input to this Function by creating a Bool Variable and call it “IsBreathing”.  
Save and close Interface.

On the Animation Event Graph create “Breathing” Event.  
Connect to SET IsBreathing (connect Bool link too), connect to Play Montage.  
On the drop down menu of Play Montage, choose “IsBriefing\_Montage” (or whatever you called it).

Then call “AnimNotify\_BreathingEnd” event.  
Connect to Stop Montage, connect to “Briefing” (Interface Call), connect TryGetPawnOwner to “Briefing” (Interface Call).  
Connect to SET IsBriefing (set it on False = box unchecked).

On the State Machine in the Transition node, Get the IsBriefing Bool, connect to NOT node, connect to Result.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7b0cdea2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7b0cdea2](https://forums.unrealengine.com/u/anonymous_user_7b0cdea2)\
**Post date:** [May 2, 2020, 6:10pm UTC](https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669/6 "2020-05-02T18:10:02Z")

</div>

Hey TEKK3N BRO, regards and thanks for your answer!

I wonder here

> [@TEKK3N\_BRO](#):
>
> …]  
> On the Animation Event Graph create “Breathing” Event.  
> …]

what kind of Event do I have to create?

![Test--Unreal-Editor-5_2_2020-8_09_12-PM.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/8/d8844c6165e8efd3caa9fe7dc919249b9f6e4934.png)

---

<div class="post-metadata">

**Author:** ![TEKK3N\_BRO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TEKK3N\_BRO](https://forums.unrealengine.com/u/TEKK3N_BRO)\
**Post date:** [May 3, 2020, 8:36am UTC](https://forums.unrealengine.com/t/how-to-use-the-notify-of-an-animation-sequence-inside-a-rule-transition-between-states/142669/7 "2020-05-03T08:36:44Z")

</div>

You should have a Briething Event (Red Node) available.
