The escape response of an organism is generally its last line of defense against a predator. Because the effectiveness of an escape varies with the approach behaviour of the predator, it should be advantageous for prey to alter their escape trajectories depending on the mode of predator attack. To test this hypothesis we examined the escape responses of a single prey species, the ground-dwelling túngara frog (Engystomops pustulosus), to disparate predators approaching from different spatial planes: A terrestrial predator (snake) and an aerial predator (bat). Túngara frogs showed consistently distinct escape responses when attacked by terrestrial versus aerial predators. The frogs fled away from the snake models (Median: 131°). In stark contrast, the frogs moved toward the bat models (Median: 27°); effectively undercutting the bat's flight path. Our results reveal that prey escape trajectories reflect the specificity of their predators' attacks. This study emphasizes the flexibility of strategies performed by prey to outcompete predators with diverse modes of attack.