The Wing Cap is an item that has appeared in only two games, the following Super Mario 64 for the Nintendo 64, and Super Mario 64 DS for the Nintendo DS. This cap grants Mario the ability to fly after doing a triple jump. This is used to get many stars in both of these games. You can find these after hitting a solid red "?" block. When getting shot out of a cannon this becomes very helpful, so you can stay in the air for a longer period of time. If Mario is missing his cap while hitting the "?" block, a Bob-omb will come out instead. This will happen with Wario and Luigi too. In both games you find it at Tower of the Wing Cap.In Super Mario 64 DS, only Mario can get this, while Luigi turns invisible, Wario turns into Metal Wario and Yoshi can breath fire. Some blocks are fake, even if Mario has it's hat, like in Super Mario 64 a bomb will come out. However in VS. mode, Yoshi, Wario and Luigi can get the wing cap. Yoshi gets wings out of his back, like his final smash in Super Smash Bros. Brawl for Wii, while Wario and Luigi wear a hat like what Mario does.
How to get it
In both games, there is a photo of a sun at the ceiling, stare at it using the close up move, where you can only move the screen, not the character. Look at the light after you get 10 (ten) stars, then Wing Mario will appear on the screen. Just head down then ground pound the big red "?" switch. Then you will receive a message simply stating that the invisible blocks, became solid. There is a star for getting the 8 (eight) red coins in the place where Mario gets the cap. Hit any of the red solid blocks, and a wing cap should come out. In Super Mario 64 DS you need to be Mario to look into the sun. Yoshi, Wario and Luigi will just fall, because they can't use the wing cap in story mode.