In a Hall-effect sensor, a thin strip of metal has a current applied along it. In the presence of a magnetic field, the electrons in the metal strip are deflected toward one edge, producing a voltage gradient across the short side of the strip (perpendicular to the feed current). Hall-effect sensors have an advantage over inductive sensors in that, while inductive sensors respond to a changing magnetic field that induces current in a coil of wire and produces voltage at its output, Hall-effect sensors can detect static (non-changing) magnetic fields.