Controlling x-rays with ultrashort slices of light is a step toward controlling how matter behaves, shaping x-rays with other x-rays, and eventually directing the paths chemical reactions can take.