Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Help: Move a Graphics Object from a Pixi Object to another? zIndex not working properly?

$
0
0

I have many Rectangles (Graphics Object) in my canvas. Each Rectangle has child circles. How can I move circle from its parent to another? I tried doing that by implementing the drag and drop but I'm having a zIndex problems. The circles hide behind the rectangle when I drag it to another rectangle.


What would be the best approach to solve this? any ideas?


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>