ReferenceReflection

gethiddenproperties

Reads supported hidden property values for an Instance.

Syntax

gethiddenproperties(object: Instance) -> {[string]: any}

Also available as

get_hidden_properties

Parameters

ParameterTypeDescription
objectInstanceObject to inspect.

Returns

TypeDescription
tableReadable hidden property values.

Description

This is the hidden-only counterpart of getproperties. Values follow gethiddenproperty conversion rules; some engine types cannot be represented. A nil value cannot appear as a populated key in the returned table. The result is a snapshot and does not write values back.

Example

local part = Instance.new("Part")
for name, value in gethiddenproperties(part) do print(name, typeof(value)) end
part:Destroy()

These are Game executor contracts. Check build requirements and session lifetimes before using them.