Find First ChildRoblox✎
Set Recursive to search every descendant, not only the children.
Pending review
- needs the Roblox engine — its datatypes, its DataModel or its scheduler
- pure — no execution pins, wire it anywhere
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- Parent:Instancemust be wired
- Name:string=
"" - Recursive:boolean=
false
Outputs
- Child:Instance?
What it compiles to
luau
print(parent:FindFirstChild(""))
Not reviewed yet