# How to disable Blendspace/StateMachine or Locomotion?

**URL:** <https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 11, 2015, 11:25pm UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914 "2015-09-11T23:25:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [September 11, 2015, 11:25pm UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/1 "2015-09-11T23:25:45Z")

</div>

So after my character dies, plays a death animation montage, the blendspace goes back to the idle animation.

How can i prevent that? Or how can i disable the Blendspace/StateMachine or Locomotion? Thanks.

---

<div class="post-metadata">

**Author:** ![PowerFighter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PowerFighter](https://forums.unrealengine.com/u/PowerFighter)\
**Post date:** [September 11, 2015, 11:53pm UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/2 "2015-09-11T23:53:52Z")

</div>

Hi,

You can add a loop to the death animation montage (preferrably towards the end) so that it keeps looping until you do a reset. This would make sure that the death montage is still overriding the blendspace/state machine source for the montage slot.  
The reset would include :

- Stopping the death montage (You can use the call Montage\_Stop in the Animation blueprint)
- Resetting all the variables of the character : Position, Health etc

regards,

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [September 12, 2015, 12:12am UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/3 "2015-09-12T00:12:13Z")

</div>

Hmm, the moment i stop the montage, the blendspace takes over, even when there is a delay or i destroy movement component.

---

<div class="post-metadata">

**Author:** ![PowerFighter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PowerFighter](https://forums.unrealengine.com/u/PowerFighter)\
**Post date:** [September 12, 2015, 12:18am UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/4 "2015-09-12T00:18:57Z")

</div>

That looks like the intended behavior, just to be clear what behavior do you want to achieve ?

---

<div class="post-metadata">

**Author:** ![rantrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rantrod](https://forums.unrealengine.com/u/rantrod)\
**Post date:** [September 12, 2015, 12:25am UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/5 "2015-09-12T00:25:55Z")

</div>

Call Montage\_Pause, not ‘stop’. From my call to “Montage Play” I attached the Return value to a Delay node, and the delay node to “Montage\_Pause”. Worked like a charm.

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [September 12, 2015, 8:32am UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/6 "2015-09-12T08:32:55Z")

</div>

Thanks. This here seems to work 70% … sometimes it goes back to idle.

 ![58320-sdf213sfsdf.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/f/66f3118b0b3e8e2e4b03b8f4ec1e33b36bd4bbc3.jpeg)

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [September 12, 2015, 6:26pm UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/7 "2015-09-12T18:26:47Z")

</div>

Okay, if you **add in Deactivate Mesh** , then followed by a Delay, it works.

---

<div class="post-metadata">

**Author:** ![mousesanya](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mousesanya](https://forums.unrealengine.com/u/mousesanya)\
**Post date:** [February 26, 2022, 8:46am UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/8 "2022-02-26T08:46:56Z")

</div>

Found another variant: you just could untick the option in Animation Montage - Enable Auto Blend Out.

---

<div class="post-metadata">

**Author:** ![Paranoid\_Andy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paranoid\_Andy](https://forums.unrealengine.com/u/Paranoid_Andy)\
**Post date:** [March 27, 2024, 7:07pm UTC](https://forums.unrealengine.com/t/how-to-disable-blendspace-statemachine-or-locomotion/331914/9 "2024-03-27T19:07:14Z")

</div>

@mousesanya Perfect! Thank you!

Works in UE 5.3.
