Remove (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>MrNicNac
Added an example that fits the method better.
>MrNicNac
Added an example that fits the method better.
(No difference)

Revision as of 14:19, 27 December 2010

Remove( )
Returns nil
Description: Sets the Parent property to nil and 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()