How to enable KiCAD snap to pads in measure distance mode

This post is also available in: Deutsch (German)

In order to enable snapping to pads (also called magnetic pads) in KiCAD pcbnew, open Preferences -> Preferences:

and then open PCB Editor -> Editing Options, and set Magnetic Points -> Snap to pads to Always:

After you click OK, you can snap to points when using the Ctrl+M Interactively measure distance between points tool: