Problem with widget component

Hi all, my question is simple: How interact with “HUD” and with widget component “Space = screen” in the same time? Please help find solution.

My problem is I have some game UI in HUD and in my pawn (via widget component), and HUD is block widget component UI. I know that I can hide the HUD when I have selected a character, but I need to use the HUD with widget component in the same time.

when you add the WidgetComponent, set the Z-order

For example, if your HUD has a Z-order of 0
Then, your WidgetComponent should have a Z-order of 1

Hi Newest, I already tried this approach, doesn’t help.

try setting the root of your HUD to Non hit-testable (self and children)

if this doesn’t work then post a screenshot of your OnMouseButtonDown function

Unfortunately, it does not help, I do not override OnMouseButtonDown function.

If I select “Not hit-testable (self and children)” I able to use widget component but my HUD UI is not clickable. :frowning: