# Web Browser / WebUI input events bubbling

**URL:** <https://forums.unrealengine.com/t/web-browser-webui-input-events-bubbling/444008>\
**Category:** UI\
**Tags:** hud, unreal-engine, web-browser, UI, question\
**Created:** [February 23, 2019, 7:40pm UTC](https://forums.unrealengine.com/t/web-browser-webui-input-events-bubbling/444008 "2019-02-23T19:40:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ec0f400e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ec0f400e](https://forums.unrealengine.com/u/anonymous_user_ec0f400e)\
**Post date:** [February 23, 2019, 7:40pm UTC](https://forums.unrealengine.com/t/web-browser-webui-input-events-bubbling/444008/1 "2019-02-23T19:40:23Z")

</div>

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

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/d/34da2dc92e1491513b349192d403d3847bd5af87.jpeg)

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.

 ![269451-screenshot-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/6/4b608a78d989049e636db6afe8f56d4a906fd2ea.png)

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 )

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ec0f400e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ec0f400e](https://forums.unrealengine.com/u/anonymous_user_ec0f400e)\
**Post date:** [March 10, 2019, 11:55am UTC](https://forums.unrealengine.com/t/web-browser-webui-input-events-bubbling/444008/2 "2019-03-10T11:55:16Z")

</div>

Anyone, please?

---

<div class="post-metadata">

**Author:** ![BBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bbb/32/719040_2.png) [@BBB](https://forums.unrealengine.com/u/BBB)\
**Post date:** [March 6, 2023, 11:26am UTC](https://forums.unrealengine.com/t/web-browser-webui-input-events-bubbling/444008/3 "2023-03-06T11:26:22Z")

</div>

> [@How do I bubble up mouse events from clicked widgets, esp Web Browser?](https://forums.unrealengine.com/t/how-do-i-bubble-up-mouse-events-from-clicked-widgets-esp-web-browser/384937):
>
> I’m interested in having mouse drag and click events bubble up to my player controller, even if the cursor is over a widget that is mouse intractable. Specifically, I’d like to make it possible to do my entire UI as a WebBrowser component, with transparency, and still have mouse click and drag events register with my controllers and not be handled and absorbed by the WebBrowser component. But, I don’t have the experience to really know how to get started.
