XR is the robotic Space Ranger and the tetratagonist from the Disney/Pixar television series Buzz Lightyear of Star Command. His name stands for "experimental ranger." He was introduced in the movie Buzz Lightyear of Star Command: The Adventure Begins when he was built by the LGM's as a possible partner for Buzz Lightyear because, being a robot, he could be rebuilt if destroyed. Originally he had a very absent personality, and was only programed to learn from Buzz. On his first mission with Buzz, to try to protect the LGM's Unimind from Zurg, he was destroyed. He was rebuilt by the LGM's, but since Zurg captured the Unimind, the LGM's ability to rebuild him was inhibited. Therefore he was rebuilt with many character flaws, by the LGM's standard he was almost human.