I’m having issues with clicks in the HUD not functioning. I stripped everything down to something really simple and cannot get it to function. All I’m attempting to do right now is update a square in the HUD by clicking a button which should generate a random colour. At first I was wondering if the HUD was having issues updating but I’ve counters of various sorts that work just fine.
Here is the onclick event in the game menu blueprint:
And here is where the game menu shows in the character blueprint:
I know my function to bring up the HUD is a bit paired down, I normally have a flip flop changing the visibility in the mix. The picture above works fine to set up the HUD but once it’s there the on click event for the button doesn’t work. I’m not having this issue for other HUD functions. I’ve read a few other answers here in the hub that seem vaguely related and tried implementing an enable input function on each of the blueprints and then both together when one and the other didn’t work however I still cannot get the on click event to fire during runtime. (It’s not executing at all ie no glowing lines when I click the button.)
EDIT: I have a feeling that due to some project setting the OnClicked event isn’t showing as having fired in the blueprint during runtime, I’ve a feeling I’ve had this happen before but I can’t remember what it was or how I fixed it. Any ideas would be appreciated on that issue. It still doesn’t fix the issue where the box element linked to Random Colour Out isn’t changing colour when the button is clicked.