Cosmic Mario is one of the non-playable characters in LEGO Dimensions 2: The Rise of Enoch, from the Super Mario franchise.
Cosmic Mario is a Star Bit filled version of Mario (or Luigi) in Super Mario Galaxy and Super Mario 3D Land. His voice is unusually high-pitched and squeaky. His primary role in the game is similar to Koopa the Quick in Super Mario 64 and Super Mario 64 DS, and Il Piantissimo from Super Mario Sunshine, in which the player races him to get an award; in this case, a Power Star/Flag Pole. Holding Z when in the ready position causes Mario or Luigi to get a boost. The races are slightly more difficult against Cosmic Luigi.
Grand Interdimensional War
"Who is that?"
"I don't know, but it seems that he wants to play follow the leader."
-Walter and Andy's first encounter with Cosmic Mario.
In LEGO Dimensions 2: The Rise of Enoch, Cosmic Mario is a guide who drops Cosmic Studs that form a pather, leading the player to their first, next or last objectives.