How To Refresh Map Variable?

I Wanted To Refresh The Map After Delete Element ( 1 ) But When I Try To Click The Button
( Remove_Item )
It is only deleted after closing and opening The Inventory Widget

if there is a way to update a map variable help me Please !!!
:rose:

make a custom event or function to refresh the UI, and call that after changing values in the map.

The map is updated when you did the remove node, but the UI will not update until you command it to. If you were updating it on tick you would see the change immediately - but otherwise you need to update from an event or function.

But How Can Refresh UI?

you would need to show how you are doing things. the code/blueprints, when and how the variables are getting displayed, etc.

what happens when you open the widget? Whatever happens there, you just need to make it happen after you change the map.

Thanks For Help !!! :heart::heart::heart: