I have a widget with a button that the player can open and close using the Tab key. I need help with enabling and disabling a button in this widget based on the player’s interaction with a Trigger Box.
Here’s the scenario:
When the player enters a Trigger Box (associated with a specific actor), I want a button inside the widget to be enabled.
When the player exits the Trigger Box, I want the button to be disabled again.
Any guidance on how to approach this in Blueprints would be greatly appreciated! Thanks!
The widget is created in the Player Controller. Here’s an example:
There is a menu with options like “inventory, stats, etc.” In this menu, there is a button that is initially disabled. What I need is for this button to be enabled ONLY when the player is overlapping a specific Trigger Box