> ## Documentation Index
> Fetch the complete documentation index at: https://docsuncv2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# gethiddenproperty

Reads the value of a hidden property on a Roblox instance.

```luau theme={null}
gethiddenproperty(instance: Instance, property: string): (any, boolean)
```

## Parameters

| Parameter  | Type       | Description               |
| ---------- | ---------- | ------------------------- |
| `instance` | `Instance` | The target Instance.      |
| `property` | `string`   | The hidden property name. |

## Returns

1. `any` - The value of the property.
2. `boolean` - `true` if the property is hidden, `false` otherwise.

## Example

<CodeGroup>
  ```luau Example 1 theme={null}
  local val, isHidden = gethiddenproperty(fireInstance, "size_xml")
  print("XML size: ", val)
  ```

  ```luau Example 2 theme={null}
  local lat = gethiddenproperty(game:GetService("Lighting"), "GeographicLatitude")
  ```
</CodeGroup>

<Tip>
  Useful when getting values that are locked from command scripts.
</Tip>
