World 5-Castle (New Super Mario Bros. 2)

 is the Castle level of World 5 in New Super Mario Bros. 2. This level is a lava level, and it centers around fences. It includes a unique type of fence that can be changed to move up or down the track using or.

Layout
Mario begins the level next to a fence with a Climbing Koopa on it. A fence on a track is then found, and it must be punched to reach a platform above. Mario then encounters a Dry Bones and two ? Blocks, one of which containing a power-up. A fence moving above a spike pit is found, followed by a Lava Bubble and a Bone Piranha Plant on the ceiling. Another Dry Bones and more ? Blocks are found, along with another fence that moves on a track. Mario must dodge a spike pit and Bone Piranha Plants while riding the fence. Mario then arrives at the Checkpoint Flag and two more ? Blocks. Above the left one is a Hidden Block containing a 1-Up Mushroom. He must climb on a fence with two Climbing Koopas on it, then a fence on a track. A Red Ring, a Dry Bones and more Bone Piranha Plants are then found. There is another Hidden Block with a 1-Up Mushroom located to the left of a ? Block. Another fence with a Climbing Koopa on it is found and a platform below it has a Dry Bones. This is followed by a tall fence on a track. Mario must jump onto a smaller fence to avoid falling in the lava, and must avoid a Big Bone Piranha Plant. The boss door is then found, leading to an area where Mario must get in a Pipe Cannon to be launched through Bone Piranha Plants. He must then fight Ludwig von Koopa.

During Ludwig's battle, he hangs on overhead chains and shoots three blasts at Mario. To hit him, Mario must use the five Pipe Cannons to catapult into the sky. After one hit, he updates his blasts to four from three. After another hit, he swings on the chain, making attacks more difficult. After Mario and Luigi defeat Ludwig, they see Princess Peach locked in a cage inside the Koopa Clown Car, which takes her away to the final world, World 6, and all the way to Bowser's Castle.

Star Coins

 * Star Coin 1: Not too far before the checkpoint, there is a hidden red pipe that can be reached with hidden blocks. The red pipe takes Mario directly to the Star Coin.
 * Star Coin 2: Immediately after the checkpoint, the Star Coin is floating over the lava. Mario must wait for the grating to rise from the lava to get it.
 * Star Coin 3: Once the vertical rectangular grating begins to sink into the lava, Mario should wait until he is able to grab the third Star Coin. Then, Mario can leap towards the next fence before he sinks into the lava.