ChildAdded (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy No edit summary |
>NXTBoy No edit summary |
(No difference)
|
Revision as of 21:29, 16 August 2010
ChildAdded ( Instance Child ) | |
Description | Fired after a child is added. |
---|---|
Member of: | Instance |
Description
Event is triggered when a new child has this object set as a parent. It applies only to immediate children and not other Descendants. (See DescendantAdded)
Usage
Example:
function onChildAdded(child) print (child.Name) end game.Workspace.ChildAdded:connect(onChildAdded)