NiftyGUI Popup and InputManager

Basic question: How are we supposed to handle clicking on a button in a NiftyGUI popup and not having an action mapped to left mouse click occur? E.g., I have a popup menu that displays when the user hits the ESC key to confirm exit. If they click the “No” button in the popup, the input manager is still listening for events and on mouse up, the action mapped to my left mouse button (e.g. firing a gun) still happens.

Just set the attribute visibleToMouse=“true” to your popup definition, then nifty should consume all mouse events.

[java]popup id=“mypopup” visibleToMouse=“true”