parent property
Node?
get
parent
The parent of this node, or null if it doesn't have a parent.
// Hide the parent
myNode.parent.visible = false;
Implementation
Node? get parent => _parent;
The parent of this node, or null if it doesn't have a parent.
// Hide the parent
myNode.parent.visible = false;
Node? get parent => _parent;