Garry's Mod Wiki

DTree_Node:GetRoot

  Panel DTree_Node:GetRoot()

Description

Returns the root node, the DTree this node is under.

See also DTree_Node:GetParentNode.

Returns

1 Panel
The root node