debug. getproto Synchronous
getproto
Active=true returns matching active closures; otherwise a ProtoProxy.
Luau
debug.getproto(
target: DebugTarget,
index: number,
active: boolean?
) -> ProtoProxy OR {Function}Parameters
| Parameter | Type |
|---|---|
target | DebugTarget |
index | number |
active | boolean? |
Argument fields
Luau
DebugTarget = Function | number | ProtoProxyReturns
ProtoProxy OR {Function}