gethiddenproperties Synchronous
Collect readable hidden properties from an Instance or Roblox Object into a name-to-value table. Use it to inspect available fields without guessing every property name.
Luau
gethiddenproperties(instance: Instance | Object) -> {[string]: any}Parameters
| Parameter | Type | Description |
|---|---|---|
instance | Instance | Object | Instance or Roblox Object whose reflected properties will be examined. |
Returns
{[string]: any}A table keyed by property name. Values that cannot be read or are nil are omitted.
Usage notes
The function isolates individual getter errors, so a member that exists in reflection but is unavailable in this context is skipped. Results depend on the object class and current runtime.
NetAssetRef values are serialized binary strings with type and version bytes before the asset stream.
Example
Luau
local part = Instance.new("Part")
local hidden = gethiddenproperties(part)
for name, value in pairs(hidden) do
print(name, typeof(value))
end
part:Destroy()