Garry's Mod Wiki

DTree_Node:ExpandTo

  DTree_Node:ExpandTo( boolean expand )

Description

Collapses or expands all nodes from the topmost-level node to this one.

Works opposite of DTree_Node:ExpandRecurse.

Arguments

1 boolean expand
Whether to expand (true) or collapse (false)