Their behavior is determined by a genetically inherited array of probabilities, and what their eye senses.
(Their behavior; is determined; by a genetically inherited array of probabilities)
Their behavior
is determined
by a genetically inherited array of probabilities