Select the animal with the mouse and click where to move it. To successfully move on its way there should be no barriers. Thus, collect 3 identical animals in a horizontal or vertical row until you clear the whole field.