Hold Person, Mass

Enchantment (Compulsion) [Mind-Affecting]

Target:

One or more humanoid creatures, no two of which can be more than 30 ft. apart

This spell functions like hold person, except as noted above.