gethiddenproperties
Gets all hidden properties of an object.
Syntax
gethiddenproperties(object: Object) -> tableParameters
| Parameter | Type | Description |
|---|---|---|
object | Object | The object to inspect |
Returns
| Type | Description |
|---|---|
table | Dictionary 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)
endProperties that are write-only or cannot be read do not produce useful entries in the returned dictionary.
Related Functions
gethiddenproperty- Get single hidden propertysethiddenproperty- Set hidden propertygetproperties- Get all properties