Key input not working in blueprint

Hi, I followed this [tutorial][1] on creating a HUD and everything works fine in my demo project i created. I’ve changed the bp slightly from what the tutorial looked like and this is how it looks like(not the problem here everything works just showing this)

now i did the exact same thing in my real project. And it doesn’t register the input. I’ve tried everything in [this question][3] but still it doesn’t register input my real project’s bp looks like now.

And the settings of my level bp where the block input is not checked.

Try changing ‘Auto Receive Input’ to Player 0

Doesn’t work.

Found the problem, it was my own fault. I was in simulation mode instead of play mode which makes the input not responde. If anyone else has this problem go to the play button and click the arrow next to it select “selected viewport” and it should work now

2 Likes

You have to “declare” your inputs in edit>project settings>inputs :

So :

  • add new inputs + and make a new family like “shortcuts”
  • then add the key you want to use in your level BP.

It should fix it
Hope this helps