3D-printed flexible tensegrities with metamaterial properties enable customizable complex locomotion in soft robots.