Returns the object's parent object

Signature:

parent = ParentedObject:GetParent()

Returns:

  • parent - Reference to the object's parent object, or nil if the object has no parent (uiobject)