A plumb line is a piece of string with a weight attached to the end that is used to check that something such as a wall is vertical or that it slopes at the correct angle.
plumb line in British English
noun
1.
a string with a metal weight at one end that, when suspended, points directly towards the earth's centre of gravity and so is used to determine verticality, the depth of water, etc