Switch (Wario Land series)
From the Super Mario Wiki, the Mario encyclopedia
Switches are a type of block in Wario Land II and Wario Land 3. They have a visible toggle that can be changed up or down by hitting them from below. Doing so changes the stage layout in a specific way, which is required for full navigation. Some of the ways that it manipulates the environment includes moving the formation of blocks, lowering a drawbridge, turning on a room's lights, reversing conveyor belts, or changing the water level.