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 5: | Line 5: | ||
|property = [[Instance|Object]] ''An object's parent'' | |property = [[Instance|Object]] ''An object's parent'' | ||
|description = The hierarchical parent of the currently selected object. | |description = The hierarchical parent of the currently selected object. | ||
|object = | |object = Global | ||
}}</onlyinclude> | }}</onlyinclude> | ||
Revision as of 07:01, 23 June 2020
Property | |
---|---|
Name | Parent |
Property | Object An object's parent |
Description: | The hierarchical parent of the currently selected object. |
In Object: | Global |
Example:
print(script.Parent.Name) -- "Workspace" should appear in the output window (only if the script is located under Workspace).