Parent (Property): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
Pizzaboxer (talk | contribs) No edit summary |
Pizzaboxer (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
<onlyinclude>{{Property | <onlyinclude>{{Property | ||
|name = Parent | |name = Parent | ||
|property = [[ | |property = [[Instance]] ''An object's parent'' | ||
|description = The hierarchical parent of the currently selected object. | |description = The hierarchical parent of the currently selected object. | ||
|object = Instance | |object = Instance |
Revision as of 07:00, 23 June 2020
Property | |
---|---|
Name | Parent |
Property | Instance 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).