Magnet pattern