Nearly the entire walkway on World 4-2 is a collapsible yellow platform. If you stand in one place for too long, the section under Mario’s feet will give way and send the plump plumber into the drink!
Stay on the move to avoid falling into the water and getting hit by a flying Cheep Cheep.
If you want to get the P Switch at Point 2, you’ll have to intentionally dive into the water and risk getting hit by Cheep Cheeps.
Stand on the platform long enough for it to give way underneath you, then hit the Brick at Point 2 to reveal the P Switch. Jump out of the water to activate the P Switch, then quickly collect all of the blue coins that appear.
The long, thin ledges that appear beginning at Point 6 are just as unstable as the other yellow walkways. Hop across them to avoid putting too much weight on them and falling into the Cheep Cheeps’ domain.