A loop of wire that forms a circuit crosses a magnetic field.When the perpendicular wire is moved in the other direction, the current reverses direction.