Download

disable button after a click

Hi.
I want to achieve that after clicking a button in a hud the button is disabled until another button is clicked.
This click on a second button reactivates the first one.
I call the buttons inside the levelblueprint, not in the widget.
Thanks a lot.
Chris
Here is a screenshot:
3de9e0a6d42e75147df38f489ee509d6cbd1ebf1.jpeg

Sheesh! Stop with Hud already, UMG is better for Common UI like buttons scroll bars and controlling their behaviour, and hud is better for things that require direct drawing like Radars and Crosshairs.

So shift the UI stuff like your button to UMG and it should be fairly straightforward from there for you to understand

You can disable a button using the Set Is Enabled node.
Also you should probably store your casted widget as a variable, but otherwise, drag off from the return value, get your button, then use that node after the bound click event

Ny3pJwS.png