✅ Solved: Best Practice for Handling Events from Deeply Nested Artboards in Unreal Engine
Hi,
I'm developing a game UI using Rive in Unreal Engine and I'm trying to figure out the best practice for managing events and inputs in a deeply nested artboard structure.
My goal is to create modular and reusable UI components, which has led me to a structure that looks something like this:
Demo Artboard (The top-level artboard placed in my Unreal UMG widget)
Main Menu Artboard (Nested inside Demo)
Settings Artboard (Nested inside Main Menu)
Sound Settings Artboard (Nested inside Settings)
Sound Bar Artboard (The innermost artboard with the actual interactive elements)
The core interactions, such as clicks for volume up/down or changing a slider value, happen inside the deepest artboard, the Sound Bar Artboard.
My challenge is to efficiently communicate these interactions back to Unreal Engine. For example, when a "volume up" button is clicked in the Sound Bar, I need to trigger logic in my Unreal Blueprint.
My current understanding is that I need to create a manual "event bubbling" chain. This means:
The Sound Bar Artboard detects a click and fires a local Rive Event (e.g., volume_up_clicked).
The parent, Sound Settings Artboard, needs a Listener to catch volume_up_clicked and then fire its own "proxy" event.
I would then have to repeat this process for every single parent (Settings, Main Menu, Demo) until the event reaches the top-level artboard, which is the only one my OnRiveEvent dispatcher in Unreal can directly listen to.
While I understand that this method works, it feels very laborious and prone to error, especially when I have many different events and components. Creating and maintaining this proxy chain for every single interaction seems inefficient for a complex UI.
So, my questions are:
Is this manual event-bubbling chain the intended and official best practice for handling events from deeply nested artboards?
Is there a more direct way for the Rive runtime in Unreal Engine to listen for an event fired by a specific nested artboard (e.g., Sound Bar Artboard), without having to proxy it up through every parent?
Similarly, for passing data, is there a way to directly read/write an Input value on a deeply nested artboard from Unreal by providing a path (e.g., MainMenu/Settings/SoundSettings/SoundBar.volume_value), or is the "notify with an event, then read the value" pattern the recommended approach?
Any advice, insights, or examples of best practices for complex, modular UI setups like this would be greatly appreciated!
Thank you!