FindFirstChild||doc136413

September 20, 2022

Format

Instance:FindFirstChild(name, recursive)

Describe

Get child node instances by name. If there are child nodes with the same name, get the first one searched. You can choose to recursively search all descendant child nodes. By default, only direct child nodes are searched.

parameter

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

Return value

Type Describe
Instance Child node instance