UMG Widget 'Event Drilling'

You could drill a widget tree in the following way:

  1. Create BlueprintInterface to send events to desired widgets:

  2. Add the interface to your widgets:
    image

  3. Create a macro library with the following macro:

  4. Use the macro to send events from the bottom widget to every upper widget in the tree that does implement the interface:

  5. Catch event:

Example:
Widget Tree:
image
image


image

Runtime:
Drill

My Products

2 Likes