gethiddenproperties
Returns hidden properties.
Syntax
gethiddenproperties(instance: Instance) -> table
Parameters
| Parameter | Type | Description |
|---|---|---|
instance | Instance | The Instance to read from or modify. |
Returns
| Type | Description |
|---|---|
table | Hidden properties |
Description
gethiddenproperties 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 get_hidden_properties(instance) resolve to the same implementation.
Example
local props = gethiddenproperties(workspace)
for name, value in pairs(props) do
print(name, value)
end
Notes
- Aliases:
get_hidden_properties(instance). - Reflection reads live property metadata; hidden-property writes can desynchronise client state.