This videos shows how to handle the double click event and use it to equip a rifle to the primary or secondary slot after verifying if the slot is not already equipped, also unequipping the rifle to the main container if there's space.
Link to the inventory:
https://www.unrealengine.com/marketpl...
Music:
JJD - Adventure [NCS Release]