Hanging lamp attached to a cord animation
You can use Object Constraints:
Add a new vertex group to the cord, and add the bottom vertex to it. Add a &quot;Child Of&quot; object constraint to the lamp, select the cord as target and the new vertex group as Vertex Group. Then position your lamp so it sits under the cord. The lamp now moves with the bottom vertex of the cord.
Result: