UMG - navigation keys + onkeydown don't work
So, I create a widget, override the OnKeyDown function with the blueprint below:
And did this inside the event graph:
Its working, except the "navigation" keys: arrow keys (left, right) and for the numpad directional (when you turn off NumLock) numbers 8,4,6 and 2 don't work. In the example above, when I press D, print string shows True, when I press arrow key Right, nothing happen, I don't get True or False, but if I press any other key (except the keys I comment before), I get False.
Also, this is what I have on my level bp:
Anyone know if/how its possible to make the arrow keys work with onkeydown override function?
asked Aug 10 '18 at 02:28 PM in Blueprint Scripting
I just tested this and, on my end, it seems to work like you'd expect.
Consider doing this to see what you're actually pressing when you hit numpad keys you mentioned (with no lock):
Maybe you have a funny keyboard :)
Follow this question
Once you sign in you will be able to subscribe for any updates here