How to make a hanging "lamp"

Hi, I recently imported a kerosene lamp model and there are two seperate peices, the lamp, and the handle. How would I make it so when you press “e” on the lamp it comes in the right top corner of your screen and makes it so you hold it by the handle (excluding the hands and such) and when you move around make the lamp bob back and forth. Im sorry for asking, im just a noob trying to learn. :slight_smile: Thanks

I’ve never used it myself, but I think you’ll might want consider using Physics Constraint