This example shows how to use the example singleton modifier to constrain the coordinates of a set of particles to remain within a box.