P Switch

P Switches (originally known as Switch Blocks, alternatively written P-Switch) are objects found in several Super Mario games such as Super Mario Bros. 3, Super Mario World, New Super Mario Bros., and Super Mario 3D Land. They are initiated by jumping on them. Upon activation, they temporarily turn all Brick Blocks from an area into coins and vice-versa. On some occasions, they likewise cause arrays or groups of Blue Coins to appear on-screen. As these effects are temporary, they are usually accompanied by a characteristic jingle or clock-ticking that marks their duration.

Super Mario Bros. 3
In Super Mario Bros. 3, a Switch Block can cause the animations of ? Blocks, Brick Blocks, Jump Blocks, and coins to stop. In the original NES version, certain Switch Blocks appear in alternate colorations due to palette limitations. In all versions, the Switch Blocks cause the Toad House theme to play while they are active.

Super Mario World
Super Mario World is the first game in which P Switches can be carried by Mario and saved for later. There is a glitch making Mario carry the switch after it has been pressed for a short time if he is quick before it disappears. In all other games, Mario cannot carry the switches and must use them on the spot.

The game introduces Gray P Switches, which makes most enemies turn into Gray Coins. Collecting eight of these coins awards Mario an extra life. Collecting one more gives Mario two extra lives. After nine coins, Mario will earn three extra lives for each additional coin.

New Super Mario Bros. series
In New Super Mario Bros., New Super Mario Bros. Wii, New Super Mario Bros. 2, and New Super Mario Bros. U (including its expansion pack New Super Luigi U), some P Switches can be reused. Prior to these games, all P Switches become unusable indefinitely after one activation.

Super Mario 3D Land
P Switches appear in Super Mario 3D Land, where they are designed as having a flat surface with a deep blue "P" printed on it, making them more like buttons. When pressed, they become red. Unlike in previous games, P Switches work more like the ? Coins of the Super Mario Galaxy games, in that they either trigger an event or generate a row of Notes upon activation.

Super Mario 3D World
P Switches appear in Super Mario 3D World. They have the same appearance as they do in Super Mario 3D Land, but with a white "P"; they don't change colors when pressed. In addition to their effects from 3D Land, they can once again spawn Blue Coins. There are also square panels with a white "P" that have similar effect to P Switches, although more than one often has to be pressed at a time to activate the effect. They can be activated by other methods than just the player stepping on them (like throwing Brolders on them).

Super Mario Maker / Super Mario Maker for Nintendo 3DS
P Switches reappear in Super Mario Maker and Super Mario Maker for Nintendo 3DS, retaining their functions of changing Brick Blocks to coins and vice versa. They also stop conveyor belts from moving, as they did in Super Mario Bros. 3. They can also be carried like in Super Mario World, which applies to the other styles except Super Mario Bros., where Mario couldn't carry objects. An update on December 21, 2015 introduced P Doors. These blue doors act as a normal Warp Door, but are only usable when a P Switch is activated. When a P Switch is shaken in edit mode, it transforms into a key.

They can be used in all four styles, retaining their designs in Super Mario Bros. 3, Super Mario World (blue version) and New Super Mario Bros. U, after the 1.30 update. During the original release, the P Switch was colored as orange with a brown P in the Super Mario Bros. style, while ? Switches appeared in the New Super Mario Bros. U style, instead of P Switches. The update changed both switches back to the original P Switch appearances from the other games, although the coloring in the New Super Mario Bros. U style is closer to dark blue than the original's cyan.

Super Mario Odyssey
P Switches appear once again in Super Mario Odyssey. They are now square-shaped rather than circular. They mainly appear in Moon Pipes but can appear elsewhere. They act as they do in Super Mario 3D Land.

Mario & Wario
In Mario & Wario, Switch Blocks do not have their "P", but they switch between solid (red) and intangible (blue).

Super Smash Bros. for Nintendo 3DS / Wii U
A P Switch makes its first appearance outside the Super Mario series in the Golden Plains stage in Super Smash Bros. for Nintendo 3DS. If a fighter steps on or attacks one, Blue Coins will temporarily appear among the ordinary coins while the P Switch music plays over the stage music, as in the New Super Mario Bros. series. A P Switch also appears as a trophy.

Captain Toad: Treasure Tracker
P Switches also appear in Captain Toad: Treasure Tracker. They are generally used to alter the layout of the stage, allowing the player to progress.

Effects
When pressed, a P Switch makes a change in the stage for a limited amount of time. This includes:
 * Turning Brick Blocks, Empty Blocks (in Super Mario World), and Rotating Blocks (in Super Mario Maker 's Super Mario World style) into coins or vice versa.
 * Changing enemies into Gray Coins (Super Mario World Gray P Switch only)
 * Turning Munchers into coins (Super Mario World Gray P Switch only)
 * Allowing Mario to access a hidden door (Appears as a white light in remakes of Super Mario Bros. 3, a blue door in Super Mario World and a blue door with a P in Super Mario Maker. Appears as a normal door in all other games.)
 * Making Blue Coins appear.
 * Making hidden ? Blocks appear. (Super Mario World)
 * Stopping conveyor belts from moving (Super Mario Bros. 3 and Super Mario Maker)

Trivia

 * Before the announcement of the 1.3.0 update for Super Mario Maker, the original blue design of the P Switch in the Super Mario Bros. style was accidentally leaked through the preview screenshot of the Mercedes-Benz Jump'n'Drive Event Course.