Maybe you can help me with this.
I have yellow balls moving down and when they reach the bottom they re-appear at the top. What i'm trying to accomplish is a way to hide the yellow balls when they go outside of the game area(purple area), so that they only appear when they are inside the gaming area.
I've tried reading tutorials online by adding different layers and using blend modes but can't seem to get it right. What happens is that either only the gaming area shows or only the sky etc, but i want both gaming area and sky to show just not the balls when they are outside in the sky area.
I manage to do it without layers by by snipping the area i want to show over the balls, cropping it and putting it back as a sprite and placing it exactly over the area i cut out if this makes sense, and adding that layer on top over the balls. I don't like this way because the precision is not always correct and you can see unwanted lines in the sprites.
I have attached an image showing how my scene looks like. Purple is gaming area, blue is the sky and yellow are the balls.