Set Input UI Only - Removes Keyboard Input

I wanted to say this was working for me too, but I don’t seem to be able to get the functionality I want.

In my case, I want the main UI (score / lives lets say) displayed, and then when the player presses a button (key: U) I want game input to sto (e.g. can’t move the player around, or fire), have the mouse appear, and then have the UI elements clickable. When the keyboard key U is pressed again, control should be handed back to the game.

I’ve tried the above approach and I’m getting some very weird scenarios…

Setting Input Mode Game and UI, when the game starts the game itself isn’t focused, so it needs a mouse click to focus it. I also have to hold down either the left or right-mouse button to then rotate the player around. When I press U, the mouse pointer appears but when I click the mouse button, it fires in the game as well. Sigh.

This feels like something that should be really straight forward to do, yet seems incredibly challenging.

I have tried the “Stop Action” (appears to be utterly undocumented at UE4 docs site) - have tried a combination of Game Mode Only and UI Only - no joy with that either.

Open to any suggestions from anyone willing to help :o/

1 Like