Hi all
I notice that I can only apply mask up to 2 levels deep. If you apply a 3rd level depth mask it removes the one before it. I'm using 4.2.2. Any ideas? Thanks!
var main = new PIXI.Container();
stage.addChild(main);
//works
var mask1 = new PIXI.Graphics();
stage.addChild(mask1);
main.mask = mask1;
var child1 = new PIXI.Container();
main.addChild(child1 )
//works
var mask2 = new PIXI.Graphics();
main.addChild(mask1);
child1.mask = mask2;
var child2 = new PIXI.Container();
child1.addChild(child2);
//does not work
var mask3 = new PIXI.Graphics();
child1.addChild(mask3 );
child2.mask = mask3 ;