Yuari
Documentation
Docs/Reflection/gethiddenproperty

gethiddenproperty

Reads a non-scriptable property.

Syntax

gethiddenproperty(instance: Instance, property: string) -> any

Parameters

ParameterTypeDescription
instanceInstanceThe Instance to read from or modify.
propertystringThe property name to access.

Returns

TypeDescription
anyThe value produced by the call.

Description

gethiddenproperty is part of the Reflection library. Reflection walks Roblox's property metadata to read or write values that are normally hidden from scripts.

The call is read-only: it resolves the current value when invoked and does not change the underlying state.

The aliases gethiddenprop, get_hidden_property, get_hidden_prop resolve to the same implementation.

Example

print(gethiddenproperty(workspace, "SomeHiddenProperty"))

Notes

  • Aliases: gethiddenprop, get_hidden_property, get_hidden_prop.
  • Reflection reads live property metadata; hidden-property writes can desynchronise client state.