From the Super Mario Wiki
Ads keep the MarioWiki independent and free :)
Rotating Blocks are yellow, eyed blocks found in Super Mario World and the Super Mario World style of Super Mario Maker and Super Mario Maker for Nintendo 3DS. When hit from below or the sides, they briefly spin around, allowing Mario to pass through them. Super Mario can destroy them with a Spin Jump from above. Chargin' Chucks can also destroy Rotating Blocks by charging into them. Also, enemies such as Koopa Troopas and Galoombas may hide in Rotating Blocks, and break out to attack Mario once he approaches him. They replace Brick Blocks from previous Super Mario games, and share most of those blocks' attributes. ? Blocks in Super Mario World have the eyes of Rotating Blocks under the question marks.
Rotating Blocks appear in the Super Smash Bros. series in Melee's Yoshi's Island stage (in Super Smash Bros. Melee, Super Smash Bros. Brawl, and Super Smash Bros. for Wii U), and in the Super Mario World style of the Super Mario Maker stage (in Super Smash Bros. for Nintendo 3DS / Wii U as DLC), working as they originally did, though they are 3D in Yoshi's Island (they turn 2D when rotating).
In Super Mario Maker and Super Mario Maker for Nintendo 3DS, Rotating Blocks replace Brick Blocks in the Super Mario World style. To be consistent with the other styles, Rotating Blocks are affected by P Switches instead of Empty Blocks, unlike in Super Mario World.
The dummies that appear in the Ring Challenge mode of the soccer sport in Mario Sports Superstars are made of Rotating Blocks, flipping over when they are struck by the ball.
Rotating Blocks also appear in Mini Mario & Friends: amiibo Challenge, where they appear primarily in Mini Luigi's world, Moonlight Mansion. Here, they appear as transparent Empty Blocks, but will turn solid and yellow when a nearby candle is lit.
Names in other languages