# \[Twitch\] Support Stream - Unreal Motion Graphics (UMG) UI - Oct. 21, 2014

**URL:** <https://forums.unrealengine.com/t/twitch-support-stream-unreal-motion-graphics-umg-ui-oct-21-2014/12787>\
**Category:** Announcements\
**Tags:** unreal-engine, Event\
**Created:** [October 7, 2014, 9:53pm UTC](https://forums.unrealengine.com/t/twitch-support-stream-unreal-motion-graphics-umg-ui-oct-21-2014/12787 "2014-10-07T21:53:45Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![excelynx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@excelynx](https://forums.unrealengine.com/u/excelynx)\
**Post date:** [October 10, 2014, 11:07pm UTC](https://forums.unrealengine.com/t/twitch-support-stream-unreal-motion-graphics-umg-ui-oct-21-2014/12787/13 "2014-10-10T23:07:38Z")

</div>

Hey guys!

Is it possible to and if so what is the best way to create a list of buttons that can fire generic events/actions/functions?

What I would like to be able to do is to have a menu with various options that can fire functions in another class or classes.

Thus far I’ve followed this tutorial by :

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

However his example requires the function of each button to be the same, and to be contained in the button itself.

What I’ve figured out so far: I set the button function up to fire an Event Dispatcher that my PlayerController class (where the menu is created) can listen to with a unique ID passed to the Dispatcher for each button. The issue is that the buttons are created using the Create Button function, and I obviously can’t put an event in that function and there’s no way for me to pass one in or out. I’m currently storing a reference to each of the buttons in an array when they’re created and binding the events in the Event Graph, which works but that seems a little messy. Is there a better way to do this that you’d recommend or does that sound right?

Thanks for the help!

---

_[View the full topic](https://forums.unrealengine.com/t/twitch-support-stream-unreal-motion-graphics-umg-ui-oct-21-2014/12787)._
