but i believe somewhere is also doing it. is it that i have to override some functions in order for me to sort it myself? sortAllChildren Method is already sorting it by zorder, however it doesnt seem like it is sorted whenever i click on the overlapped sprite.
thanks. it always called whenever the draw call is executed. but i couldnt get it to work properly. what i did was, i change the zorder of the sprite when i touch it. it suppose to sort after i remove my finger, but it didnt and when i touch the 2 overlapped sprite, it detects the one below. I am trying to print out the objects inside the children container. i kept having error on that though.