Y button

The Y button refers to the grey, kidney-shaped button on the right side of the GameCube controller, the small button on the right side of the Classic Controller, Wii U Pro Controller, Wii U GamePad, and Nintendo 3DS (varies in color on 3DS, matches the color of the Wii Classic Controller, Wii U GamePad and Wii U Pro Controller), or the dark gray button on the right Joy-Con and Nintendo Switch Pro Controller. The color of the Y button varies on the 3DS and matches the color of the shell on the Classic Controller, Wii U GamePad, and the Wii U Pro Controller.

Overview
Due to the Nintendo 64 controller not having a Y button, there is no function for it in the original Super Smash Bros.. However, its Wii Virtual Console re-release made it compatible with controllers that have a Y button, and it can perform any action in that state. In Super Smash Bros. Melee, Super Smash Bros. Brawl, Super Smash Bros. 4, and Super Smash Bros. Ultimate, the Y button is primarily used for jumping, a function it typically shares with the X button. When using the right Joy-Con by itself held horizontally, the Y button will become the right button, acting like an X button and performing jumps, while the Y button's typical functionalities are given to the B button. The equivalent to this model on the left Joy-con would be the right directional button.

In Brawl, and Smash 4, and Ultimate, the Y button can be customized in the controls menu to perform other functions. Nintendo Switch hardware version 10.0.0 introduced the ability to map the functionality of any button to any other button from the console options menu, further diversifying how the Y button can be used in Ultimate.