Communication between player and widget

Because this widget is the inventory slot. I’m searching to cast to this widget to set the item thumbnail when a item is pickup:

This is ion the inventory widget