Parent (Property)

From Goodblox Wiki
Revision as of 22:18, 23 September 2021 by Xyrafrost (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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).