# Make key consume input from input action

**URL:** <https://forums.unrealengine.com/t/make-key-consume-input-from-input-action/1454408>\
**Category:** Programming & Scripting\
**Tags:** charactermovementcom, Input, unreal-engine, action-mappings, question, Blueprint\
**Created:** [December 2, 2023, 10:51pm UTC](https://forums.unrealengine.com/t/make-key-consume-input-from-input-action/1454408 "2023-12-02T22:51:54Z")\
**Posts on this page:** 1\
**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 2, 2023, 10:51pm UTC](https://forums.unrealengine.com/t/make-key-consume-input-from-input-action/1454408/1 "2023-12-02T22:51:54Z")

</div>

I hope I phrased that correctly. I’m working with WASD movement controls, and I would like to make it so that only one key is accepted at a time. So if a player is moving forward with W, but then moves right with D, the input action will ignore input from W until D is released. Is there a way to do that with input action contexts?
