Rex is a major character in the Toy Story franchise. He is a large, green plastic Tyrannosaurus Rex. He is one of Woody's five best friends. He is a supporting character in the original Toy Story and Toy Story 4, a major character of Toy Story 2 and one of the main characters of Toy Story 3.