To remove a Pencil from the box, you need to make a match next to it using pieces of the same color or activate a power-ups. A box can contain anywhere from one to four different Colored Pencils — once you collect them all, the box will disappear from the board.