UMG - How to get rid from the mouse cursor when giving focus?

This does the trick for me, it’s the last answer in the answerhub post you actually linked…

And in the Menu widget

Then I can get OnKeyPress events to fire in the widget, mouse never moves anywhere.

It seems you have the MenuOptions as an array of widgets, why not make it a single widget with subwidgets, then if you Construct it with KeyboardFocus, you can override OnFocusReceived and do whatever you want with the individual widgets.

Or, alternatively, if you want the buttons separated, bind a “Listen For Input Action” node to a custom event in each one. That node listens for the input action happening in the viewport.

1 Like