Two separate magic pencils appear in this video game.
Just like in the episode, It falls off the artist's boat into the water to SpongeBob and Patrick, who use it to make magic drawings that come to life. They create DoodleBob with it, along with some other creations. After the chaos DoodleBob causes, they throw it back into the boat, where the artist finds it, but the lead breaks.
When skidding on the ground from a sudden stop of running in the Doodle Dimension, it makes a simple line that comes to life. This prompts SpongeBob to pull the magic pencil out and draw a bunch of simple doodles until Patrick draws a SpongeBob, which is later revealed to be DoodleBob, who terrorizes the two by chasing them with the magic pencil. They both fight DoodleBob with the doodles the made of their own but they later turn against SpongeBob and Patrick after DoodleBob redraws them to look evil.
He later kidnaps Patrick and brings him to a doodle castle and ties him on a flagpole. SpongeBob then attempts to rescue Patrick and fight DoodleBob at the same time. Patrick is later thrown at SpongeBob, which releases him from his rope. DoodleBob commands miniature DoodleBobs to attack SpongeBob and Patrick, with the latter eventually floating into the void of the blank dimension with other miniature DoodleBobs.