A rectangle in the parent’s coordinate system that contains the node’s content, ignoring the node’s children.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 3.0+
SKNode does not draw content of its own, its frame size is arbitrary; it's the visual subclasses of
SKNode that do draw that define the frame's size with a meaningful value that encloses its visual content.
To get a rect that encloses all the child nodes of an
SKNode parent object, use