API:Class/Instance/GetFullName

GetFullName

Function of Object Icon.pngInstance
string GetFullName ()

Returns: string
Description: Returns a string which shows the object's ancestry chain.

Notes

  • This method is mainly intended for logging and debugging. You aren't advised to parse the returned string.
  • If used on an Instance that is not parented to the DataModel.pngDataModel, its Name will be returned instead.
    • Since the DataModel is not parented to itself, this also applies if you use game:GetFullName()

Example

print(workspace:GetFullName())
print(workspace.Camera:GetFullName())
Workspace
Workspace.Camera