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
| Parameter | Type | Description |
|---|---|---|
target | Instance | Instance to inspect. |
property | string | Property name. |
Example
local part = Instance.new("Part")
local value, hidden = gethiddenproperty(part, "Name")
print(value, hidden)
part:Destroy()Example output
Part falseErrors: A nonexistent member raises an error; unsupported or unreadable property access can fail.
