Best way to implement widget functionality for all widgets?

Hey,

I created a widget (main menu) where all buttons are added to a main list of available buttons. After that events for all these buttons are created like Hovered, Unhovered and Clicked. I tried to create a library blueprint like a GameInstance and then call this function, but when doing so nothing happens. Below you can see my events. What would be the best way to implement such a library which is accessible from all widgets (like options, controls, credits etc…)?

If you want to make one widget that behaves the way you like, then you can just right click on that widget in the content browser and choose ‘make child instance’.

Then the child widget will do everything the original widget did, plus anything new you add to it.

Hey, thank you for your reply. I didn’t know I could do that. But for me I choosed another solution. For my menu and my game I have a separate GameMode. So in my MenuGameMode I use my “overall” function for my widgets.