UMG Button hoverable and visible but doesn't allow hover unless clicked first?

Play with these first, see if it helps:

Once on the UI layer it lets me hover
the cursor over the mouse but the
cursor no longer controls the player
rotation which is not acceptable.

That’s pretty normal. The player controller hands over the control to UI. You want both to work at the same time?

This video showcases the problem I am having

I need to set up widgets that activate effects once hovered over. However, it seems that I can only activate my on hover events once I click on the screen. This seems to take the mouse out of the game space and put it on some kind of UI layer. Once on the UI layer it lets me hover the cursor over the mouse but the cursor no longer controls the player rotation which is not acceptable. Does anyone know how to fix this?

ALTERNATIVELY: Once I hit C I’d need the cursor to IMMEDIATELY de-sync with the camera and cover the HUD. This might actually be preferable. Right now after C is pressed I must ALSO left click the screen in order to interact with the UI. If that left-click could be removed entirely and I could be put into that state immediately after pressing C that would solve my issue!

Use the “Set Input Mode Game And UI” function to enable direct mouse input. You can toggle this at runtime, for example on opening the menu. You can also set it back to "Game Only" if necessary.

1 Like