Removes a list of children from the receiving node.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Sprite
Kit
Removes a list of children from the receiving node.
SDKs
Framework
See the objects and functions you use to control the node tree's composition.
- add Child:
Adds a node to the end of the receiver’s list of child nodes.
- insert Child: at Index:
Inserts a node into a specific position in the receiver’s list of child nodes.
- is Equal To Node:
Compares the parameter node to the receiving node.
- move To Parent:
Moves the node to a new parent node in the scene.
- remove From Parent
Removes the receiving node from its parent.
- remove All Children
Removes all of the node’s children.
- in Parent Hierarchy:
Returns a Boolean value that indicates whether the node is a descendant of the target node.