I started working on a third person character game and I currently have 2 guns in it. The Player can pick them up fine, but I don’t know how to make it so he drops the gun he is already holding to pick up a new one. He can pick up a gun by pressing the E button.
Guns are in collision boxes and player can press the button to pick them up.
Below is the piece of code associated to the guns blueprints.
Thanks in advance for any help