I am working on setting up the system for dialogue in my game; when you’re looking at an interactive item that has this dialogue system component attached to it, you press E and it calls up the dialogue box widget. It comes up just fine, but I can’t figure out a way to collapse it. I’d like to be able to use the E key for this as well, but I’ve tried several other things, such as assigning other keys to it, setting the functionality up inside the graph of the widget itself, turning off “consumes input,” making sure that the input event can still fire while the game is paused, etc.
A second issue I’m having that may need the same or a similar solution is that the nametag widget that appears on screen when you look at an interactive item does not disappear.
I also changed the Z order of the dialogue box widget to 1 to make sure that the name tag isn’t rendering on top of it, but that didn’t do anything either