A nanostructure made of silver and an atomically thin semiconductor layer can be turned into an ultrafast switching mirror device that may function as an optical transistor—with a switching speed around 10,000 times faster than an electronic transistor.