(Solved) SpriteMasking, but with multiple objects

I’d love to use the extention SpriteMasking to mask a the drawing made by a shape painter. (To display impacts on building). But right now the Extention SpriteMasking only one object to mask the object.

Is there any way to create a mask made of multiple objects ?

Ok… I have found a solution : I create a snapshot of my layer (containing multiple objects) with “Render to sprite” into a sprite which is the size of the layer (well actually I had to make it a bit smaller… Weird).
And then use that sprite as a mask.

It worked !