Template:Method
From Legacy Roblox Wiki
[[{{{name}}} (Method)|{{{name}}}]]( {{{arguments}}} ) | |
Returns | {{{returns}}} |
Description: | {{{description}}} |
In Object: |
Example Usage
Single Object
FindFirstChild( string name, bool recursive = false )
Returns
Instance
Description:
Returns the first child found with a name of name. Returns nil if no such child exists. If the optional recursive argument is true, will recursively descend the hierarchy while searching rather than only searching the immediate object.
In Object:
Instance
Multiple Objects
{{Method |name = BreakJoints |arguments = |description = Breaks any surface connection with any adjacent part, including [[RBX.lua.Weld (Object)|Welds]] and other [[RBX.lua.JointInstance (Object)|JointInstances]]. |objects = [[RBX.lua.BasePart (Object)|BasePart]], [[RBX.lua.Model (Object)|Model]] }}