Skip to content
ReflectionOverview

gethiddenprop

Represents inspection of a hidden property.

Aliasesget_hidden_propget_hidden_propertygethiddenproperty

Details#

Reads an Instance property through the module's property access facility, including properties unavailable through ordinary access. gethiddenproperty is an alias. Names and value types depend on the Instance class; failures can raise an error.

Examples#

Example

Luau
local part = Instance.new("Part")
local ok, value = pcall(gethiddenprop, part, "Name")
print(ok, value)
part:Destroy()