I created a widget blueprint which turns on when I click on a model. Hovering the model also highlights its contorn (made this in Level Blueprint) following this tutorial.
It opens a menu with buttons, you select one of them and then it dissappears.
So now I want to enable the clicking event when I press a button -SpaceBar- :
-Press SpaceBar -Game pauses, locks view too-
-Mouse cursor appears and you can select the models. Hovering the cursor over them, makes the highlight appear.
-Click on a model, press button menu and widget blueprint dissappears.
-Press again SpaceBar and Game unpauses and unlocks view.
The problem is if I press SpaceBar while in the middle of getting the menu, it doesnt dissappear. It stays on top of the screen in unpaused mode.
Besides, my highlight effect keeps showing even after I unpause the game.
How can I disable both of them?
I created a Controller Blueprint (pic related) with a Flipflop node but I’m stuck. Any tips on how to do this? Am I using the correct nodes? I hope I have explained my issue.
Thanks in advance