Contents

addChild(_:)

Adds a node to the end of the receiver’s list of child nodes.

Declaration

func addChild(_ node: SKNode)

Parameters

  • node:

    The node to add. The node must not already have a parent.

Mentioned in

See Also

Modifying the Node Tree