Inside the Cage

Collect the Caps... is the sixth mission of Dire, Dire Docks in Super Mario 64 and Super Mario 64 DS, though it is renamed to Inside the Cage in the DS remake due to the player not being able to collect more than one cap in the game. In the original game, this mission requires the Metal Cap and Vanish Cap to be unlocked, while the DS version requires Luigi and his Power Flower ability.

Layout
In the original game, Mario needs to make his way to the boardwalk in the second area. On the boardwalk are the blue and green ! Blocks and Mario needs to wear them both. After Mario puts them both on, he needs to Long Jump into the water to close the distance between them and the cage, and then walk over to the cage on the right. The player needs to move quickly, however, as the caps' powers will only last for a short time.

In the DS game, Luigi needs to make his way to the boardwalk in the second area. He then needs to collect his Power Flower from the red ? Block to turn invisible and swim down to the cage under the large hole to the south. Inside the cage is the Power Star, but Luigi needs to swim inside quickly before the Power Flower's ability wears off.