AcediaDocumentation

gethiddenproperty

Reads a property through the hidden-property path.

The second result reports whether the property is hidden. BinaryString and SharedString properties can return binary strings.

gethiddenproperty(target: Instance, property: string): (any, boolean)

Parameters

ParameterTypeDescription
targetInstanceInstance to inspect.
propertystringProperty name.

Example

local part = Instance.new("Part")
local value, hidden = gethiddenproperty(part, "Name")
print(value, hidden)
part:Destroy()

Example output

Part	false

Errors: A nonexistent member raises an error; unsupported or unreadable property access can fail.

On this page