getcallbackvalue
Reads an instance callback.
Syntax
getcallbackvalue(instance: Instance, property: string) -> any
Parameters
| Parameter | Type | Description |
|---|---|---|
instance | Instance | The Instance to read from or modify. |
property | string | The property name to access. |
Returns
| Type | Description |
|---|---|
any | The value produced by the call. |
Description
getcallbackvalue is part of the Reflection library. Reflection walks Roblox's property metadata to read or write values that are normally hidden from scripts.
The call is read-only: it resolves the current value when invoked and does not change the underlying state.
The aliases getcallbackmember, get_callback_value, get_callback_member resolve to the same implementation.
Example
print(getcallbackvalue(workspace, "ChildAdded"))
Notes
- Aliases:
getcallbackmember,get_callback_value,get_callback_member. - Reflection reads live property metadata; hidden-property writes can desynchronise client state.