SetParent

Set the object's parent.

setParent(object, parent)

Zero can be used to reset parenting:

setParent(object, 0)