I'm new to PixiJS and I can't figure this out. I understand you can set a mask on an object like so:
mainSprite.mask = maskSprite
But what if you need to set more than one mask on the mainSprite? I tried using a PIXI.Container but it's not working... Any idea?