Jump to content

Send a child of a sprite behind that sprite


Recommended Posts

I have a player built out of multiple sprites. It has one arm that's suppose to be behind the main sprite (the body) but it's in front of it. I tried doing 

this.player.setChildIndex(this.parts.armBackSide, 0);

but it doesn't set the back arm behind the main sprite it's been added to.

Can anyone help please.....

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...