MIT researchers developed a method for making an iron-containing gel that can form soft, magnetically activated structures.