Donald Glover of Childish Gambino performs at Bud Light stage during 2014 Lollapalooza Day Three at Grant Park on August 3, 2014 in Chicago, Illinois

Donald Glover of Childish Gambino performs at Bud Light stage during 2014 Lollapalooza Day Three at Grant Park on August 3, 2014 in Chicago, Illinois

*Donald Glover is getting to live out a childhood dream.

The “Community” star will voice his all-time favorite superhero Spider-Man in the new season of Disney XD’s animated series “Ultimate Spider-Man: Web Warriors.”

…Sort of.

Glover will lend his voice to the character of Miles Morales, a half-black, half-Hispanic Spider-Man in a parallel world.

peter parker miles morales

Peter Parker (voiced by Drake Bell), the usual Spider-Man, left, meets his counterpart from another dimension, Miles Morales (Donald Glover), in an episode of ‘Ultimate Spider-Man: Web Warriors.’

In the episode, Morales is just starting out as a superhero when he runs into Parker, who’s on the hunt for the Green Goblin.

“He meets someone who is his hero, and that comes across completely in Donald’s performance,” said Stephen Wacker, vice president of Marvel Television’s animation division. “He’s got a real warmth that suits the character really, really well.”

“That’s the great part about the Spider-Man costume: He can be anybody. Spider-Man could be a girl. Spider-Man could be an old man. You don’t know. So I just tried to be as me as possible, because you’re always just going to bring it back to yourself when you watch the show.”

Peter Parker (voiced by Drake Bell), the usual Spider-Man, left, meets his counterpart from another dimension, Miles Morales (Donald Glover), in an episode of 'Ultimate Spider-Man: Web Warriors.'

Peter Parker (voiced by Drake Bell), the usual Spider-Man, left, meets his counterpart from another dimension, Miles Morales (Donald Glover), in an episode of ‘Ultimate Spider-Man: Web Warriors.’

The casting could in theory lead to Glover playing Morales in a movie or TV adaptation. The actor is hopeful: “I still have hopes to do something like that one day. I don’t look at this as second place. Spider-Man, he’s such an icon – you have to do something with him.”

“Ultimate Spider-Man: Web Warriors” premieres on Sunday (9 a.m. ET/PT), with the Donald Glover episodes set to air at some point next year.

Watch a preview below: