Hello,
i want create a buttom to get a item (for exemple a pickaxe) in the player inventory.
i have create a menu and 2 buttom.
The first buttom is for close my menu and is work.
for The second buttom i want to click and get item to the player inventory
What you are looking for here is blueprint communication. You want to have the button call an event in your inventory blueprint that will add your item. Check out this non-Epic affiliated video that give a run down on casting and blueprint interfaces: