I would like to add moving child nodes to the Sprite node, but I want them to be cropped if they move outside, which gives the impression of a βwindowβ. I know that there is a UIView property called clipsToBounds that does the same thing. Is there a similar property for SKSpriteNode , and if not, how to achieve the same?
source share