debug.getproto Synchronous

  • getproto

Active=true returns matching active closures; otherwise a ProtoProxy.

Syntax
Luau
debug.getproto(
    target: DebugTarget,
    index: number,
    active: boolean?
) -> ProtoProxy OR {Function}

Parameters

Function parameters
ParameterType
targetDebugTarget
indexnumber
activeboolean?

Argument fields

DebugTarget fields
Luau
DebugTarget = Function | number | ProtoProxy

Returns

ProtoProxy OR {Function}
Kawaii documentation