From the Super Mario Wiki
Pink Blocks are objects from the game Mario vs. Donkey Kong 2: March of the Minis and Mario vs. Donkey Kong: Minis March Again! The object consists of two Pink Blocks which appear to have circular objects inside them and a row of Pink Blocks or dotted outlines of blocks between them. Pink Blocks made their first appearance in the first level of the first world of the game.
To use the object, the player must tap the blocks with the stylus. This would turn all the blocks in between the two outer pink blocks into dotted outlines of the blocks. These blocks would then be stockpiled in a small counter at the bottom of the screen. If the number of blocks stockpiled away is sufficient, the player could tap a row of empty blocks to make them into real blocks, subtracting the amount of blocks used from the counter.