Download

How to get what keyboard button was pressed?

If player presses any of keyboard buttons, I want to store that button into a variable, and use it for something, like if player presses A, I spawn a letter A on the screen via another blueprint, etc.

I could map every single button on key inputs tied to set key variable, but thats rather unintuitive approach, and only works on my countrys keyboard, and will possibly miss letters from other languages alphabets.

Like this:

Capture.PNG

Thanks, that was simple and worked.