Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Shift your playhead to the keyframe, transform the object, hover your cursor over the 3D viewport, press "i" on your keyboard, and click "Location." To enable automatic keyframing, you can click in the timeline editor.