Enable Widget Button when Overlap Box Trigger

Hi everyone,

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!

Where is the widget created, in the player BP?

a Trigger Box (associated with a specific actor)

How do we know which specific box is needed? How is this chosen / decided / flagged?

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

Have a boolean variable as to weather the button can be pressed in the widget and On Overlap set it



1 Like


You can do like this if for some reason using get player controller causes you some issue

Like this if youd rather have an Event and pass some other variables like what to set the button text or whatever


1 Like

Thank you :slight_smile:

1 Like