Take a loose magnet and place it on the Magnet-on-a-post so the two magnets attract.
Increasing the distance between the two magnets will cause a decrease in the force of attraction between two magnets.