Hats can be the goal element in some levels, and they appear on the field in groups of four. To collect Hats, make four consecutive combinations in adjacent cells containing Hats. You can also use bonuses on them four times in a row.

But be careful: if your next move does not affect the element, you will have to start over.