Magnetic graphene oxide sheets fold, move, sense motion, and switch function by swapping magnetic layers, offering a fast, reprogrammable platform for soft robots and other morphable structures.