# Listen for Input Action, callback want be called

**URL:** <https://forums.unrealengine.com/t/listen-for-input-action-callback-want-be-called/559417>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, UI, question, Blueprint\
**Created:** [May 17, 2022, 3:02pm UTC](https://forums.unrealengine.com/t/listen-for-input-action-callback-want-be-called/559417 "2022-05-17T15:02:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felix5197](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/felix5197/32/486549_2.png) [@Felix5197](https://forums.unrealengine.com/u/Felix5197)\
**Post date:** [May 17, 2022, 3:02pm UTC](https://forums.unrealengine.com/t/listen-for-input-action-callback-want-be-called/559417/1 "2022-05-17T15:02:17Z")

</div>

Hello dear unreal community,

I just follow the following video:

[![]( " - YouTube") ](https://www.youtube.com/watch?v=LyCS4Mqq6b4)

He uses a listen for input action to close the UI again (the callback of this function).

Unfortunately for me, the callback is not called at all. Do you have any idea why?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/5/045b47fd497711c836eabdd9c5747bb197a9b7cb.png)

---

<div class="post-metadata">

**Author:** ![Felix5197](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/felix5197/32/486549_2.png) [@Felix5197](https://forums.unrealengine.com/u/Felix5197)\
**Post date:** [May 18, 2022, 7:28pm UTC](https://forums.unrealengine.com/t/listen-for-input-action-callback-want-be-called/559417/2 "2022-05-18T19:28:23Z")

</div>

no one have encountered this problem so far ?

---

<div class="post-metadata">

**Author:** ![eldany.uy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eldany.uy/32/821920_2.png) [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Post date:** [May 18, 2022, 8:33pm UTC](https://forums.unrealengine.com/t/listen-for-input-action-callback-want-be-called/559417/3 "2022-05-18T20:33:54Z")

</div>

1. is your widget in the viewport?

2. have you defined the input action in settings?

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/9/c4913e169625007715a1c7ee3c512636e1c90d94.png)

---

<div class="post-metadata">

**Author:** ![eldany.uy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eldany.uy/32/821920_2.png) [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Post date:** [May 18, 2022, 8:37pm UTC](https://forums.unrealengine.com/t/listen-for-input-action-callback-want-be-called/559417/4 "2022-05-18T20:37:48Z")

</div>

this:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/f/77f7edda5f66b19e46ad3e5e44b5094f1cb4c8f9.jpeg "Listen for input action") ](https://www.youtube.com/watch?v=7DD70lb4eoI)

---

<div class="post-metadata">

**Author:** ![Felix5197](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/felix5197/32/486549_2.png) [@Felix5197](https://forums.unrealengine.com/u/Felix5197)\
**Post date:** [May 19, 2022, 1:24pm UTC](https://forums.unrealengine.com/t/listen-for-input-action-callback-want-be-called/559417/5 "2022-05-19T13:24:52Z")

</div>

Thank you very much, i dont know i need to enter the input action name 🙂

---

<div class="post-metadata">

**Author:** ![Thewasta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thewasta](https://forums.unrealengine.com/u/Thewasta)\
**Post date:** [October 13, 2022, 10:09am UTC](https://forums.unrealengine.com/t/listen-for-input-action-callback-want-be-called/559417/6 "2022-10-13T10:09:23Z")

</div>

Hello,

I have same problem and actually same video 🙂 , my Widget BP:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/4/66406f3f2d7db1bca04bb696172ffc71b7e9dbab.png)

Callback:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/c/a7c37073a83b7754bf77ef242ff74260b67bf913.png)

Print debug in callback is never printed.

Project settings, input:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/6/1f668a4d5ff41bfb6e33918d6faa37326cd1dfdf.png)

Player Controller BP:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/1/5111f5b750cf1b156a6db40ba62c1d2019451357.png)

It show menu but doesn’t ‘close’ when I press key again
