Scripting / Method
GetFullName()
Builds a dotted hierarchy name from an instance up through its parents.
Syntax
instance:GetFullName()Example
Luau
local part = workspace:FindFirstChild("NestedPart", true)
if part then
print(part:GetFullName())
endA Part inside a Model named Vehicle may produce a name such as Workspace.Vehicle.NestedPart.
When it is useful
Full names are useful in logs and debugging because they show where an object lives instead of printing only its local Name.