Get all particles in particle group liquidfun javascript

I am using liquidfun.js and I wanted to set the color of the water, but I am using spawnParticles to spawn the water, and I don’t know how to get all the particles in a particle group.

Current code:

let particles = spawnParticles(1, 0, 5)