So I am making this game and I am spawning rings randomly on top of the screen, which they then fall down onto a stick. I have the win/loose mechanics figured out, but the ring is on the top most layer so when it lands on a stick it looks bad as it just goes above it. So I split the same ring into two parts a top and bottom, so that when it did fall onto the stick the top of the ring would be on top of the stick and the bottom part of the ring would be behind the stick making the visual affect that the ring fell through the stick. I cant figure out how to make those two sprites be on different layers, but still have them in containers so that they would be randomly spawned together. I will attach what I have, and I have been experimenting on "GameInfinity", and the "GameSpeed" is what I had initially. If you play the "GameInfinity" you will see that the rings do go through the stick, but only randomly as in sometimes they do and sometimes they dont, and I think thats because of the "containers", but I have no other idea of solving this issue. I tried using pinning, but for the life of me I cant get it to work.
Thank you for your help.