Contents

removeChildren(in:)

Removes a list of children from the receiving node.

Declaration

func removeChildren(in nodes: [SKNode])

Parameters

  • nodes:

    An array of SKNode objects that are all children of the receiving node.

See Also

Modifying the Node Tree