Orientation in a magnetic field