GetChildren||doc136415

September 20, 2022

Format

Instance:GetChildren(recursive)

Describe

Get all child node instances. You can choose to recursively obtain all descendant child nodes, and only obtain direct child nodes by default.

parameter

Variable name Type Describe
recursive bool Recursively obtain all descendant child nodes, which is false by default

Return value

Type Describe
table<Instance> Child node instance list