Override Child Widget Function/Event?

anonymous_user_3ad9ae12
Sun, 18 Jul 2021 13:09:37 +0000
Community & Industry Discussion

Hi Unreal Community!
For a piece of UI I’m making (I’ll call it “Widget1”), I want it to have 3 child widgets, all of which inherit from a “HUD_Button” class that has some built-in functionality I want. However, I also want each child to create a different menu when it is clicked. Is it possible to override the OnClicked, OnPressed, etc. functions of the button widget from each child widget, in Widget1? If not, is it possible to override a custom event? (which I could set up to run on the button event)

6 posts - 1 participant