Physics and engineering researchers have demonstrated a device that produces a synthetic magnetism to exert virtual force on photons similar to the effect of magnets on electrons. The advance could yield a new class of nanoscale applications that use light instead of electricity.