gethiddenproperties
Lists hidden properties of an Instance and reads their values on demand.
The array part lists hidden property names, including inherited class properties matching the descriptor's scriptability classification. Indexing the table by a hidden property name returns that property's value, read through the same path as gethiddenproperty. Values are read only when indexed, so iterating the table yields names, not values. Indexing a scriptable property such as Size returns nil.
gethiddenproperties(target: Instance): {[number]: string, [string]: any}Parameters
| Parameter | Type | Description |
|---|---|---|
target | Instance | Instance to inspect. |
Example
local fire = Instance.new("Fire")
fire.Size = 12
local hidden = gethiddenproperties(fire)
print(hidden[1]) --> heat_xml
print(hidden.size_xml) --> 12
print(hidden.Size) --> nil