Binding a weapon use for E

I’m making something for a weapon that when you press E, you pick something up, like the gravity gun. But, i don’t know the proper function for it, so i just have a bunch of code with no function to put it in. All i want is the name, if it exists.

Your post isn’t very clear, but I think you mean you need the in_key for +use,


For the function it self.