Fitting hydrogels with aptamer-based ligands can open doors for a range of new biomedical applications.