UE5 On Key Down Problem

Hi, I have a problem I would like to do the following:
I start my game and am loaded into a level and then a UI opens where you can press any key to open a new ui but the pressing does not work it does not recognise that I press a key.

This is when I load my level so that the UI opens without problems

This is my user widget Blueporint from the UI
and here is the problem when i press the key nothing happens

1 Like

Hey there @Partymann2000! Let’s check where the fault may be, I’m thinking it’s the function not firing at all there. Try putting a raw any key event in the UI’s event graph, set it to not consume input and have it print real quick. If it works, the function is failing, if it fails there’s something else at fault.

Can you tell me how can i become the Any Key i can dont fin this :frowning:

1 Like

but the pressing does not work it does not recognise that I press a key.

Should we assume the Prints Strings do not show up? If so, try this:

  • add a Set Keyboard Focus node.

  • and in the widget:

image

See if that helps.

3 Likes

this have fix my issue biggest thx <3

1 Like