How to make working key?

So, I basically set out a raycast to detect physics objects and picks them up. The key is just a physics object, it has no blueprint