gethiddenproperty
Reads a non-scriptable property.
Syntax
gethiddenproperty(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
gethiddenproperty 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 gethiddenprop, get_hidden_property, get_hidden_prop resolve to the same implementation.
Example
print(gethiddenproperty(workspace, "SomeHiddenProperty"))
Notes
- Aliases:
gethiddenprop,get_hidden_property,get_hidden_prop. - Reflection reads live property metadata; hidden-property writes can desynchronise client state.