Parent (Property): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(Created page with "{{CatUp|Properties}} <onlyinclude>{{Property |name = Parent |property = Object ''An object's parent'' |description = The hierarchical parent of the cur...")
(No difference)

Revision as of 06:59, 23 June 2020


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


Example:

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