In Toy Story, the aliens are found in a claw vending
machine at Pizza Planet that Buzz Lightyear climbs into. They believe
the crane is a kind of deity who sometimes selects one of their kind to
go to a better place. One alien in particular was picked up by
Sid, which then put Buzz Lightyear in view.
Learn more on Fandom