a small permanent magnet in a metal container; when the magnet clicks against the container it indicates that the magnet is directly over an iron nail that holds the wallboard to a stud
A stud finder (also stud detector or stud sensor) is a handheld device used to determine the location of framing studs used in light-frame construction after the walling surface has been installed.