P Block

P Blocks are objects in Super Mario Maker 2 that can be placed in every level style. Similar to ON/OFF Switches, they are activated or deactivated whenever the player hits a P Switch; they are outlined when deactivated, and when activated, they become solid blocks that cannot be destroyed by any means. Due to the effect being temporary, the blocks operate in a similar way to the Dotted-Line Blocks from Super Mario World 2: Yoshi's Island and its sequels.

Super Mario Maker 2

 * Play Nintendo: "When a P Switch is hit in the course, invisible P Blocks temporarily turn into hard platforms, or vice-versa."

Trivia

 * In Super Mario World, some Hidden Blocks could only be revealed by pressing Blue P-Switches, making them similar to P Blocks.