Search the Community
Showing results for tags 'rearrange'.
Found 1 result
Mouse Event wrong stage.children orderHello to all pixi fans I have a problem, when i reorder a DisplayObjectContainer's children array, the mouse events are not reordered (so it seems atleast). Here is the fiddle: http://jsfiddle.net/fela98/oer4828L/3/ The MouseEvents are not dispatched to the correct Sprites. Sometimes am I dragging a sprite that is behind the on I clicked. Am I supposed to reorder the children array manually or should i only do it with the swapChildren method? Am I doing something wrong or is this a bug? Thanks in advance!