Can I make It so that a character can pick up a axe that can kill pigs?

I do not know how. i want it to be able to pick up the axe, and then go to kill pigs.

I would like to know also, and for it to show on inventory

I made this for you guys! https://flowlab.io/game/play/1414787

I edited the animation to look more fluid as well and not as clunky to try and match the weapon angle with the emitter. Enjoy!

Thank you so much starpg! This was very helpful! I will show you my game when I am done. It may not be up to your standards though, since I am new to this.

But it did not work?!?!