line trace pick up pop up item data (press X to pick up *Iron Sword*)

what i am trying to create is a pick up for the player, the play looks at an item and a widget pops up and displays press X to pick up. everything works perfect, i can look at an item and the widget will appear and then disappears once the player is no longer looking at the item, my only issue is that I’m trying to find a way so that when the player looks at an item the widget can display what the item is, for example if the item is an apple i want the widget to say press X to pick up apple, or if its a sword, say press x to pick up sword. I’m assuming i need to bind the item name in my widget but i cant figure it out