gethiddenproperties

Gets all hidden properties of an object.

Syntax

gethiddenproperties(object: Object) -> table

Parameters

ParameterTypeDescription
objectObjectThe object to inspect

Returns

TypeDescription
tableDictionary of hidden property values

Description

gethiddenproperties returns a table containing all hidden (non-scriptable) properties and their current values.

Example

local part = Instance.new("Part")
local hidden = gethiddenproperties(part)

for property, value in pairs(hidden) do
    print(property, "=", value)
end

Properties that are write-only or cannot be read do not produce useful entries in the returned dictionary.