User:Alex95/Sandbox

Diving is a move used by various characters in the Mario franchise, though it is mainly used by Mario in 3D titles. Usually, the dive is activated by jumping into the air followed by hitting the attack button. Diving has the character dive downward out of the air as a means of attacking enemies or dodging obstacles.

Super Mario 64 / Super Mario 64 DS
In Super Mario 64, Mario can use this move after running for a period of time, pressing to jump, then by pressing  to initiate the dive. While diving, Mario will slide across the ground on his stomach and damage any enemies in his path. If diving onto a slide, Mario's speed will remain constant despite the player's inputs. In Super Mario 64 DS, Luigi and Wario can dive as well, using the same controls and properties. Yoshi, however, cannot dive due to lacking attack power.

Super Mario Sunshine
In Super Mario Sunshine, Mario no longer has to gain speed to dive. The player can simply jump on the spot and press to send Mario diving forward. Though Mario can no longer dive into enemies to defeat or damage them, he can dive forward repeatedly if the player keeps pressing.