Magnet Block
From the Super Mario Wiki
Magnet Blocks are depicted as large, gray squares with magnetism. They only appear in Yoshi's Island DS. One way to move a Magnet Block is by using Baby Wario, as his magnet attracts to Magnet Block, causing it to move. A Yoshi can also push a Magnet Block forward.