In my project, some widget buttons are pressed during gameplay (like in Vampire Survivors). However, once a widget button is pressed (and the widget is removed from parent), keyboard input is ignored. The keyboard button can be re-entered, but not long-pressed across before and after the widget appears. How can I prevent the widget buttons to make keyboard inputs disabled?
My keyboard inputs are using Enhanced Input, UE5.2.
Try calling this right after removing it:
Yes, I tried Set focus on Viewport, Set Input Mode and Show mouse cursor nodes but they didn’t work.
1 Like
Yea, Im facing the same problem. At least for me, I want to use the widget as part of my gameplay, but if Im pressing double axis (w and d) and I click the button, for some reason my character will start ignoring one of the axis (just goes forward or right, instead of diagonally). Hope someone can find a workaround for this
1 Like
Unchecking “IsFocusable” on the widget button worked for me.
Found here: InputAxis stops working after clicking Widget button
1 Like