Template:Method

From Legacy Roblox Wiki
Revision as of 03:34, 15 February 2012 by >JulienDethurens
Jump to navigationJump to search
[[{{{name}}} (Method)|{{{name}}}]]( {{{arguments}}} )
Returns {{{returns}}}
Description: {{{description}}}
In Object:

Example Usage

Single Object

FindFirstChild( string name, bool recursive = false )
Returns Template: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: [[RBX.lua.
[[]]
(Object)|
[[]]
]]

Multiple Objects

BreakJoints( )
Returns nil
Description: Breaks any surface connection with any adjacent Part, including Welds and other JointInstances.
In Object: BasePart, Model