Skip to content
Saiko

gethiddenproperty

Reads a property that Roblox hides from scripts, returning the value and whether it was actually hidden.

Signature

luau
gethiddenproperty(instance: Instance, property: string): any, boolean

Parameters

instanceInstance

The instance to read from.

propertystring

The property name.

Returns

any, boolean

Example

luau
local value, wasHidden = gethiddenproperty(workspace, "PhysicsSteppingMethod")
print(value, wasHidden)