# The "pressed key" condition in the Enhanced input system

**URL:** <https://forums.unrealengine.com/t/the-pressed-key-condition-in-the-enhanced-input-system/759543>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [January 30, 2023, 8:09am UTC](https://forums.unrealengine.com/t/the-pressed-key-condition-in-the-enhanced-input-system/759543 "2023-01-30T08:09:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [January 30, 2023, 4:36pm UTC](https://forums.unrealengine.com/t/the-pressed-key-condition-in-the-enhanced-input-system/759543/5 "2023-01-30T16:36:06Z")

</div>

Hey @RTELOS! Welcome to the forums! 😃

@BDC_Patrick is right! I also found this other thread where the OP went through the trouble to make a small walkthrough of how to do exactly what you’re wanting, they just used ALT instead of Shift 🙂 It says C++ but it’s Blueprint.

> [@Enhanced Input key with modifier?](https://forums.unrealengine.com/t/enhanced-input-key-with-modifier/486208/2):
>
> So I actually found out how to do this but I’m not a big fan of this approach since the whole idea behind input actions is that they are input method/key binding agnostic. I noticed the “Chorded Action” trigger and this basically allows you to have an action only triggered when another one is triggered. Using these I created separate input actions for my keyboard modifier keys. They all have the same properties. I unchecked “Consume input” but this depends on your needs. I the…

---

_[View the full topic](https://forums.unrealengine.com/t/the-pressed-key-condition-in-the-enhanced-input-system/759543)._
