New and looking for help with simple logic...

Hi all! I’m seeking help adding a close button to my player inventory.

The logic currently works nicely on the player controller. When I press B, the inventory shows, and B again hides.

However, I’d like to add a close button (X) with the same logic. The problem is I have to press B twice for the widget to show.

Is there an easy fix here to get this working correctly? Thx for any guidance!

hi @Xango-reload1

Remove from parent is what you might be looking for my friend!

Remove from Parent | Unreal Engine Documentation