Magnetic levitation (Maglev) is well known for its use in high-speed rail networks, but could also be applied at smaller scales in medicine and electronics. To do so, researchers must be able to precisely control electromagnetic fields so that they can move and rotate objects without touching them.