GetDebugId (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Mattchewy No stub |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Method | <onlyinclude>{{Method | ||
|name = GetDebugId | |name = GetDebugId | ||
|arguments = [[Integer]] ''scopeLength'' | |arguments = [[Integer]] ''scopeLength'' | ||
|returns = [[String]] ''debugId'' | |returns = [[String]] ''debugId'' | ||
|description = Returns a coded string of the object's DebugId. | |description = Returns a coded string of the object's DebugId used internally by Roblox. | ||
|object = Instance | |object = Instance | ||
|protected = yes | |protected = yes |
Revision as of 05:05, 30 December 2010
GetDebugId( Integer scopeLength ) | |
Returns | String debugId |
Description: | Returns a coded string of the object's DebugId used internally by Roblox. |
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