Child UMG Widget OnKeyDown

I use a UMG Widget as an options menu. In this menu I use child Widgets to handle the rebinding of input keys. In the child widget i use the OnKeyDown() function to read when a key is pressed and set it as the new input for that specific ActionName.

However if I press the Child widgets button to change a key and then press anywhere else the child widget loses its focus and doesn’t call the OnKeyDown() inside the child widget.

And thus the key remain unbound. So my question is how do I keep the focus on the child Widget til I have typed a key, or if anyone have a better solution for this kind of setup?

I have the same problem. Did you found an answer yet?

Yes I did. I added a new blank widget that I gave the focus which handles the input reading. I might do a tutorial of it if I find the time :slight_smile:

I don’t really get how i should do that, so a tutorial would be awesome. Thanks! I’ll try to solve in myself in the meantime.