Parent (Property)
From Goodblox Wiki
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).