PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

DescendantAdded

The DescendantAdded event fires after a descendant is added to the Instance.

As DescendantAdded fires for every descendant, parenting an object to the Instance will fire the event for this object and all of its descendants individually.

Developers only concerned with the immediate children of the Instance should use Instance/ChildAdded instead.

See also Instance/DescendantRemoving.

Parameters

Name Type Default Description

The Instance that has been added.


Code Samples


Instance.DescendantAdded

This following example will print the name of any object that is added to the Workspace: