# UMG Widget 'Event Drilling'

**URL:** <https://forums.unrealengine.com/t/umg-widget-event-drilling/768062>\
**Category:** UI\
**Tags:** event-dispatcher, unreal-engine, Widget, question, UMG\
**Created:** [February 10, 2023, 2:11pm UTC](https://forums.unrealengine.com/t/umg-widget-event-drilling/768062 "2023-02-10T14:11:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![FelixSab1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FelixSab1](https://forums.unrealengine.com/u/FelixSab1)\
**Post date:** [February 10, 2023, 2:11pm UTC](https://forums.unrealengine.com/t/umg-widget-event-drilling/768062/1 "2023-02-10T14:11:55Z")

</div>

Hey, I am coming from a React background and there we have a situation called “prop drilling”, which describes the process of taking some data and passing it through every component in the tree manually.

I am encountering a similar situation using UMG widgets, where I have a custom button, being several layers of custom UMG components deep, that is dispatching a custom OnClick event. Now I had to create an event dispatcher on every level of the hierarchy so that I could pass that event onto the root component, where the side effects are located at.

Is there a more elegant way to handle custom event dispatchers without introducing side effects in the corresponding widget?

---

_[View the full topic](https://forums.unrealengine.com/t/umg-widget-event-drilling/768062)._
