# control mouse input event processing

**URL:** <https://forums.unrealengine.com/t/control-mouse-input-event-processing/1867536>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [May 22, 2024, 11:10am UTC](https://forums.unrealengine.com/t/control-mouse-input-event-processing/1867536 "2024-05-22T11:10:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 22, 2024, 11:22am UTC](https://forums.unrealengine.com/t/control-mouse-input-event-processing/1867536/2 "2024-05-22T11:22:37Z")

</div>

The `Enhanced Input` and its mapping contexts allow you to create abstract layers of input. Each with input consumption and priority rules. On top of `Triggers` and `Modifiers`. Takes a while to wrap one’s mind around the system. It’s relatively new.

> **[Enhanced Input in Unreal Engine | Unreal Engine 5.7 Documentation | Epic...](https://dev.epicgames.com/documentation/en-us/unreal-engine/enhanced-input-in-unreal-engine)**
>
> An overview of the Enhanced Input Plugin in Unreal Engine

Example of WASD:

> [@"Consume input" doesn't work (the input still propagates everywhere)](https://forums.unrealengine.com/t/consume-input-doesnt-work-the-input-still-propagates-everywhere/1213316/4):
>
> Imagine I have 2 sets of controls: IMC\_Default (Priority 0) to move around with WASD IMC\_Backpack (Priority 1) to move between backpack slots, also with WASD if priorities are equal, the one added last gets to the hardware input first When I open my backpack and WASD inside it, I’d rather not walk off the cliff, so I add a new Mapping Context with higher priority, so it can intercept Actions associated with keys: Think with mapping contexts - abstracted layers of input. I…

---

_[View the full topic](https://forums.unrealengine.com/t/control-mouse-input-event-processing/1867536)._
