They pop up if they sniff a carrot nearby, and they go back into their hole if you go near them.
Holes that are joined by tunnels and adjacent to each other are linked, and the prairie dogs in them react as well.
Touch the holes so that there are prairie dogs peeping out from all of them.
The answer is as follows.