Hamm was in the Toy Story movies. In Toy Story 4, he did not speak when he's with the Little Green Men (one left), Woody, Buzz Lightyear, Slinky Dog, Rex, Mr. Potato Head and Sarge. He is seen during Andy's arrival and he is last seen watching Rex vomit into Mr. Potato Head's body, he wasn't seen again in the sketch.