The present invention relates to an arrangement (10) for influencing and/or detecting magnetic particles (100) in a region of action (300), which comprises selection means (210) comprising magnetic selection field generation means for generating selection field components of a magnetic selection field (211) having a pattern in space of its magnetic field strength such that a first sub-zone (301) having a low magnetic field strength and a second sub-zone (302) having a higher magnetic field strength are formed in the region of action (300). The arrangement further comprises drive means (220) for changing the position in space of the two sub-zones (301, 302) in the region of action (300) by means of a magnetic drive field (221) so that the magnetization of the magnetic material changes locally.