A modular clamp-like mechanism to regulate the activity of nucleic-acid target-responsive nanoswitches with external activators.