---
title: "gethiddenproperty"
description: "Returns a reflected property value and whether it was non-scriptable."
---

```lua
gethiddenproperty(instance: Instance, property: string): (any, boolean)
```

---

## Aliases

None.

---

## Arguments

<ParamField body="instance" type="Instance" required>
  The Roblox Instance to operate on.
</ParamField>

<ParamField body="property" type="string" required>
  The reflected property name, with exact capitalization.
</ParamField>

---

## Returns

<ResponseField name="value" type="any">
  The reflected value, or nil when the read fails.
</ResponseField>

<ResponseField name="hidden" type="boolean">
  Whether the property was non-scriptable; not a success flag.
</ResponseField>

Second result is a hidden-state flag, not a success flag. Failed reads can return nil; Tags is normalized through GetTags. TerrainRegion.GridV3 yields nil.

---

## Example

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