GetChildren (Function)

From Legacy Roblox Wiki
Revision as of 20:29, 12 March 2008 by >PilotLuke
Jump to navigationJump to search
GetChildren( )
Returns Table children
Description: Returns a read-only table of this Object's children

Example


local children = game.Workspace:GetChildren()
for c = 1, #children do
print(c.Name)
end