Cilia drive developmental plasticity and are essential for efficient prey detection in predatory nematodes.