How do I make a group collide with world bounds?

I am trying to create a group of objects under the arcade physics system that will collide and “bounce” off of world bounds. I understand that for a single object, doing myObject.setCollideWorldBounds(true) does the trick, but I am unsure how to create a collider with world bounds that could be applied to a group.
Thank you for any help.
-Duncan

Maybe this is what you are looking for

No, thank you. I am looking for a way to set up a collider using physics.add.collider (or some other method with the same effect) that will apply to the whole group, instead of having to configure each group member individually.

To set collideWorldBounds on each body in a group (when created or added to the group), it’s

this.physics.add.group({ collideWorldBounds: true });

If you want each sprite to bounce when any one hits the world bounds, probably use world bounds event.