Parent (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
No edit summary
>Camoy
No edit summary
(No difference)

Revision as of 13:53, 29 January 2011

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


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


See Also

Instance Hierarchy