Hello, I would like to know what it exactly does, I not really new to the scripting, but I would like too know!
Thanks!
Hello, I would like to know what it exactly does, I not really new to the scripting, but I would like too know!
Thanks!
:FindFirstChild() is a method used for locating a child. This method is usually used to confirm the existence of a child inside a Instance.
It needs to pass a argument through the parenthesis. However, it can also be used optionally for a second parameter that will search through every descendant.
The wiki page for this method is located here.
A example of the method being used is :FindFirstChild("Part") or :FindFirstChild(game.Workspace.Part.Name)
Well, it finds the first child of the specified object. So, if I wanted to find the first object named "Part" in the Workspace, I'd do this:
Part = workspace:FindFirstChild("Part")
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
http://wiki.roblox.com/index.php?title=API:Class/Instance/FindFirstChild