So I’m trying to route my UI tabs to buttons on a gamepad control but like over half of them are being used by something else. I want B to close my shop and it’s already routed to the cancel part of the confirm purchase dialog. This means that if that dialog is open and a player hits B, my shop closes too.
I want the shop to stay open. Can I detect if the confirm purchase dialog is visible so I can make sure my shop doesn’t close?