A DNAzyme-mediated logic gate for programming molecular capture and release on DNA origami.