parent

open fun parent(parent: Node?): Node

Sets the parent Node of this Node.

Parameters

parent

this Nodes parent


var parent: Node?

The parent Node, if any.