The fly's head is held fixed so that its brain activity can be watched, but
its legs are free, allowing it to walk on a tiny ball. When its world is
moved in one direction, it compensates for the unexpected motion by turning
in the same direction (the ball's movement tells researchers which direction
the fly wants to turn). Source: HHMI