Parent (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Pspdude40
m Realized example mistake
>Mr Doom Bringer
m Parent moved to Parent (Property)
(No difference)

Revision as of 22:44, 5 August 2008

Parent
Property Object An object's parent
Description The hierarchical parent of the currently selected object.
Member of Global

Example:

print(script.Parent.Name)
-- "Workspace" should appear in the output window (only if the script
is located under Workspace).