# Get Keys for ActorOnClicked, from the Keymapping of the Project?

**URL:** <https://forums.unrealengine.com/t/get-keys-for-actoronclicked-from-the-keymapping-of-the-project/500306>\
**Category:** Blueprint\
**Tags:** key, Input, keybindings, unreal-engine, UE4-27, question\
**Created:** [February 20, 2022, 7:26pm UTC](https://forums.unrealengine.com/t/get-keys-for-actoronclicked-from-the-keymapping-of-the-project/500306 "2022-02-20T19:26:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BDC\_Patrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bdc_patrick/32/1104221_2.png) [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Post date:** [February 20, 2022, 7:26pm UTC](https://forums.unrealengine.com/t/get-keys-for-actoronclicked-from-the-keymapping-of-the-project/500306/1 "2022-02-20T19:26:54Z")

</div>

Hi there…

Situation:  
I´ve a working way to select Actors (Units) in my Project by using the Event ActorOnClicked.  
To make sure the Player clicked with the correct Key on the Object you can use an equal Operator of the Events “ButtonPressed” Parameter.

Problem:  
The Operator only allows me to select a single, hardcoded Key…  
So… in my projectPreferences, i added an Input Action called “Action\_Confirm”, that holds more than 1 Key (for Controller Mappiong, later in dev)…

Question:  
So… Is there a “Key of Input mapping pressed” Node i just overlooked?

Image:

 ![ProblemWithKeys](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/7/387b59ec2551a0bdd94df021519a242fa1930cd6.jpeg)

I hope someone knows the Answer to this… Cause a bunch of Conditions (or OR operators that check multiple hardcoded keys…) wouldn´t be so nice… ^^"

---

<div class="post-metadata">

**Author:** ![Yaklakootmaa2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yaklakootmaa2/32/1194607_2.png) [@Yaklakootmaa2](https://forums.unrealengine.com/u/Yaklakootmaa2)\
**Post date:** [February 20, 2022, 10:30pm UTC](https://forums.unrealengine.com/t/get-keys-for-actoronclicked-from-the-keymapping-of-the-project/500306/2 "2022-02-20T22:30:05Z")

</div>

Haven’t tried to do something like that but you can try to do this from the opposite side.  
Do Action\_Confirm and check is there something that must react to this user action
