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

Remove

The Remove function sets the object’s Instance/Parent to nil, and does the same for all its descendants.

If the object is referenced before being removed it is possible to retrieve the object at a later point.

Returns

Return Type Summary

Code Samples


Instance:Remove

The following code demonstrates how a part can be re-added to the DataModel after being removed: