ON/OFF Switch

An ON/OFF Switch (alternatively with "switch" not capitalized), also known as an ON Block, an ON/OFF Block, or simply a Switch, is a stationary object that first appears in Super Mario World.

Super Mario World / Super Mario World: Super Mario Advance 2
In Super Mario World and its reissue, an ON/OFF Switch can be used by Mario or Luigi either to change the path that a Pulley Lift is traveling on or, in #4 Ludwig's Castle, to toggle the direction in which the falling ceiling is moving. The switches can be turned on or off by either jumping against them from below, whirling Caped Mario's cape next to them, or throwing an object, such as a Koopa Shell, at them. Since the player can use the cape to activate a block by hitting it multiple times in succession, toggling an ON/OFF Switch that way does not guarantee that it will end up in the state intended by the player.

Apart from #4 Ludwig's Castle, ON/OFF Switches are mostly found in the levels Donut Plains 3 (where they first appear) and Way Cool, where the switches are abundant. They are sometimes guarded by a Fuzzy.

New Super Mario Bros. 2
In New Super Mario Bros. 2, two switches similar to the ON/OFF Switches appear in, where they switch the direction of certain Conveyor Belts. These switches bear a closer appearance to other switches in the game, and they can be hit only from below. The first one appears close to the end of the level, where it controls two Conveyor Belts leading to the third Star Coin, and the second one appears during the boss fight with Lemmy to control the Conveyor Belt used during the fight.

Super Mario Maker 2
In Super Mario Maker 2, ON/OFF Switches appear as a placeable course element. When hit by the player, they can transform red and blue Dotted-Line Blocks into outlines or vice versa. In this game, they have more saturated red and blue palettes rather than having magenta and slate palettes. They can also transform other objects such as tracks, Conveyor Belts, Spike Blocks, Track Blocks, and ON/OFF Trampolines. In the night Ghost House and Underwater themes, they make the radius of light around the player smaller when hit.

Super Mario Bros. Wonder
ON/OFF Switches return in Super Mario Bros. Wonder where they have the ability to increase and decrease the brightness of the level.

Super Mario Maker 2

 * North American website bio: Step on an ON/OFF Switch and the red and blue blocks will swap! Use them to set up a trap or a tricky puzzle.
 * Play Nintendo: Two-item combos When a player hits an ON/OFF Switch, the red and blue blocks will swap. You can use these sneaky switches to set up traps. You can even combine two items in a cool way. For example, you can create two conveyor belts, then connect an ON/OFF Switch to make a puzzling challenge for the player. When the switch is hit, the conveyor belt changes direction. Talk about a trick combo!