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. Working with the femtosecond beamline at Lawrence Berkeley National Laboratory’s Advanced Light Source, a team of scientists shows how it can be done.