How to set container interactive

I have multiple containers in a scene which have as children only sprites, what I’d like to do is to make them interactive by getting a master shape of all the sprites together. Is it possible?

What I was doing until now was seting interactive every sprite inside the container with the same function, but i think it’s more effective to have all that groupped inside the container.

You can set a container to be interactive like so:
this.baseButton.setInteractive(new Phaser.Geom.Rectangle(0,0,500,500), Phaser.Geom.Rectangle.Contains);

Unfortunately I don’t know of an easy way to have the interactivity encapsulate all of the children. However, you could always get the bounds of each children and set the interactive rectangle to be that same size.