Remove (Method)

From Legacy Roblox Wiki
Revision as of 13:21, 21 July 2011 by >Trappingnoobs (Added 'Recursively'. Can somone verify my edits if they see this? :))
Jump to navigationJump to search
Remove( )
Returns nil
Description: Sets the Parent property to nil and recursively calls Remove() on all children.
Member of: Instance


Example
This is an example of removing a part in the Workspace. Make sure there is one there before trying this.
game.Workspace.Part:Remove()