# Breaking up an input action

**URL:** <https://forums.unrealengine.com/t/breaking-up-an-input-action/1521782>\
**Category:** Blueprint\
**Tags:** Input, unreal-engine, action-mappings, question, Blueprint\
**Created:** [December 13, 2023, 6:55am UTC](https://forums.unrealengine.com/t/breaking-up-an-input-action/1521782 "2023-12-13T06:55:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [December 13, 2023, 6:55am UTC](https://forums.unrealengine.com/t/breaking-up-an-input-action/1521782/1 "2023-12-13T06:55:33Z")

</div>

I have a character that can move in any cardinal direction, but can only move in one direction at a time. I need to make it so that, for example, that if the player is moving forward, then presses right with forward still pressed, the right input will override the original forward input. It seems as though enhanced inputs do not register multiple presses as new Triggered events. Is the only way to do this to break up the input into four actions?

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [December 13, 2023, 11:36am UTC](https://forums.unrealengine.com/t/breaking-up-an-input-action/1521782/2 "2023-12-13T11:36:30Z")

</div>

whats your input action? if you’re using a 2d axis it shouldnt matter, unless you dont want forward and right to go diagonal?

---

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [December 13, 2023, 11:25pm UTC](https://forums.unrealengine.com/t/breaking-up-an-input-action/1521782/3 "2023-12-13T23:25:53Z")

</div>

Correct, I want it to be one or the other, but never both. I have a 2D Axis input, but switched it to four 1D Axis inputs to solve the problem, but I’m wondering if there’s a simpler way.

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [December 14, 2023, 6:35am UTC](https://forums.unrealengine.com/t/breaking-up-an-input-action/1521782/4 "2023-12-14T06:35:17Z")

</div>

yeah probably the best way, im not sure what your setup is but you could possibly do it with 2 inputs assuming its impossible to push up and down at the same time.

or maybe break the 2d axis and only use the highest value, so if right is greater than up go right?
