3

I was wondering if it is possible to mask a specific area of a SpriteKitNode in swift. Actually the SKCropNode I am using is not masking the good part of the node. If i could reverse the masking area, it would work.

For example, I have this blue box and I want to mask the middle

How can I have this result with SpriteKit. The blue box is a SKCropNode containing a SKSpriteNode. I actually try to apply a mask to the SKCropNode, but it is not working like I want.

Thank you!

0 Answers0