How do animals evolve new traits? Sea robins are fish that possess specialized leg-like appendages used to "walk" along the sea floor. Here, we show that legs are bona fide sense organs that localize buried prey. Legs are covered in sensory papillae that receive dense innervation from touch-sensitive neurons, express non-canonical epithelial taste receptors, and mediate chemical sensitivity that drives predatory digging behavior. A combination of developmental analyses, crosses between species with and without papillae, and interspecies comparisons of sea robins from around the world demonstrate that papillae represent a key evolutionary innovation associated with behavioral niche expansion on the sea floor. These discoveries provide unique insight into how molecular-, cellular-, and tissue-scale adaptations integrate to produce novel organismic traits and behavior.