GetDebugId (Method)

From Legacy Roblox Wiki
Revision as of 22:11, 2 January 2011 by >MrNicNac (Description on what a 'debug id' is.)
Jump to navigationJump to search
Stub icon Stub
This article is a stub. If you think you know more about this than we do, please help us by contacting a writer.
Thank you!


GetDebugId( Integer scopeLength )
Returns String debugId
Description: Returns a coded string of the object's DebugId used internally by Roblox. The code returned is usually an error code solely for the developers and has no other use.
Member of: Instance


Example
function debugId(object, scopeLength)
   return object:GetDebugId(scopeLength)
end

print(debugId(Workspace)) --> 39FA_12
print(debugId(Workspace, 10)) --> 39FA2FEF4D_12
print(debugId(Workspace, math.huge)) --> 12