Clickable HUD?


is it possible to make clickable HUD? Like some icon, which being clicked / touched, runs some action.



Yes, you could either make a Canvas HUD with hitboxes.
In the HUD class, you can create hitboxes with the “Add Hitbox” node and give that hitbox a name.

If you enable click events etc (normaly when you press the button for the menu, you also enable/disable the events) you can check the Hitbox name that you recently clicked and use a switch to determine what function it should use.

Or you can use the UMG and create a widget. In this widget you could create several buttons and bind a function to it.

I guess you can watch some tutorials on youtube to get started with it. Just search for UE4 UMG or UE4 Hud tutorial.

ok cool, thx