Can't interact with widget/buttons on screen and can't full screen either (help)

So I made a simple collision box, where if you enter it. It’ll open a simple UI with like 2 buttons. The collision box isn’t rlly the issue I think… So the issue is… Randomly when the widget pops up, you can’t interact with it, Not with any of the buttons and It won’t show if ur hovering over it. And I’ve noticed that the F12/Fullscreen viewport button doesn’t work either when this bug is happening… So does anyone have any solutions?

Can you show us the Configuration in the Widget Editor?
Specifically, “Visibility”.
There is “Not Hit Test Visible (which is not what you want)” and most likely being used here.
You want it definitely to be “Visible” and there should be nothing but a “non hit test” panel as parent for testing this out.

if anything else is going on here, please provide some screenshots of the settings or setup you made.

This is the text visibility settings:


This is my Button Visibility Settings:

This is the collision script:

The visibility collision isn’t really the issue I think.
Cause whenever this bug occurs, My f12 aka my fullscreen shortcut won’t work and I can’t enter full screen. Only when this occurs, and the bug happens randomly, 1 minute it works perfectly fine. The other minute it doesn’t.

promote the output of “create widget” to a variable, use that reference from there on. Make sure the canvas is “not hit testable”, and make sure the “text” elements are “not hit testable” as well.
Think of it like this:
If you set to “visible” it will consume your click. If you click on the text (most likely you will because it is just there on the button), it will consume your click, you dont want that. You want that only the button consumes it, so the text should not be hit testable, while the button is hit testable.
Try it and if it didnt work out, i can pull up an example where it does work.

But just seeing that it is set correctly, isnt enough. To make sure that you actually performed a click on the button and the button (not the text) received it, start from the top:
Bind event to OnClick, or create Click event for canvas, button and text, and set breakpoints on each of those. On must receive it.
If none of these breakpoints got hit, we must check why there is no click at all.
If there was a click, then we have to look into where that click actually went, and route it properly.

All of my text and canvas are already set to: “Not Hit Testable”



It doesn’t seem to work.
I have also set up a print string for everytime my player touches, hovers, releases, ect on the buttons.

I’ve checked if they worked, and they did:

The image above is when the buttons work. This is 60% Of the time

This is the image if the bug happens:


This is when the bug happens. I changed nothing from the coding or the UI properties. It just randomly does this. I can’t click, hover or anything.
Idk why it does this.

Also I can’t bind the canvas to see when I click, idk if it’s a UE5 thing, but I have UE 4.27. So It might be different.

But as you can see. Idk what’s causing this but this bug just happens randomly

Afaik you must not only set the button to Hit-Testable/Visible but make it actually visible not fully transparent. I think if it is fully transparent, it wont get rendered, and then does not pick up your click.
For testing, set the button “Draw as” Box and not as None.
Also if you set the render opacity to 0, could cause that the click does not get picked up.
So to narrow this down, try a default button setup (Visible Button with Not Hit Testable Text). If that click does not work as well, we have to lock into the hud settings.

I’ve done what you’ve said, And I’ve even done some tests on my hud. No bugs so far, but I’m gonna keep testing. I’ll tell you how it goes and send screenshots if it doesn’t work, I’ll keep you updated!