I have a sprite that takes up the entire screen that I want to mask with multiple rectangles. I also want to animate those rectangles.
So far, the only thing I've found is to make the sprite a child to the rectangle and clip the children.
There are 2 problems I've encountered with that so far.
- can only mask with 1 item as it's the parent.
- as soon as I move the left corner, the child sprite starts to move with it (not locked into the world position).
Is there a better way to mask sprites (or textures)?