# Set/bind on mouse events for elements inside the Widget

**URL:** <https://forums.unrealengine.com/t/set-bind-on-mouse-events-for-elements-inside-the-widget/768993>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [February 12, 2023, 7:17am UTC](https://forums.unrealengine.com/t/set-bind-on-mouse-events-for-elements-inside-the-widget/768993 "2023-02-12T07:17:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 12, 2023, 7:50am UTC](https://forums.unrealengine.com/t/set-bind-on-mouse-events-for-elements-inside-the-widget/768993/2 "2023-02-12T07:50:59Z")

</div>

You did not miss anything. And #2 is the way to go, #2 is the _only_ feasible way to go in order to achieve an interface that is maintainable, modular, flexible and scalable.

Once you start wrapping native element in user widgets, there’s no looking back.

There’s also no looking back once you start using Named Slots and then finally figure out how the heck widget inheritance works.

And even all the above eventually becomes underwhelming. Unlike Slate, UMG cannot **easily** produce certain behaviours. Here’s a fantastic post addressesing lackluster UMG tunnelling / bubbling handling:

> [@UMG Widget 'Event Drilling'](https://forums.unrealengine.com/t/umg-widget-event-drilling/768062/3):
>
> You could drill a widget tree in the following way: Create BlueprintInterface to send events to desired widgets: Add the interface to your widgets: [image] Create a macro library with the following macro: Use the macro to send events from the bottom widget to every upper widget in the tree that does implement the interface: Catch event: Example: Widget Tree: [image] [image] [image] Runtime: [Drill] [My Products](https://www.unrealengine.com/marketplace/en-US/profile/Aleksandr+Sidorov)

* * *

My advice is: absolutely do, and wholeheartedly, too, embrace User Widgets. 🫂

---

_[View the full topic](https://forums.unrealengine.com/t/set-bind-on-mouse-events-for-elements-inside-the-widget/768993)._
