SuperNode.insert#

SuperNode.insert(index, node)[source]#

Adds a child before the specified index in the children list.

Parameters:
  • index (int) –

  • node (SuperNode or any object) – If the node parameter is not a SuperNode object, it will create a new SuperNode object. The value of the SuperNode object will be the value of the node parameter.