Web Browser / WebUI input events bubbling

Hello guys, I am using WebBrowser to show some UI interface to on top of the game layer.

Underneath the HUD layer is a player that on mouse move should draw a cursor point on the ground, and on mouse click should go to the direction.

The problem is that the UI layer absorbs all the input even the parts where its not covered with UI elements.

My first thought was that I need to have mouseenter bind from the browser and see what kind of element is under the cursor. If it has some class like “interactive” then the Visibility of the widget will be set to Visible, otherwise if its “empty space” or just body element as a target, then the visibility of the widget will be set to Self Hit Invisible.

Any other ideas? Please I really need somebody’s help )

1 Like

Anyone, please?

1 Like