getproperties
Gets the readable properties of an object.
Syntax
getproperties(object: Object) -> tableParameters
| Parameter | Type | Description |
|---|---|---|
object | Object | The object to inspect |
Returns
| Type | Description |
|---|---|
table | Dictionary of property values that Volt could read |
Description
getproperties returns the readable properties of an Object, including hidden properties. Properties that cannot be read are omitted.
Example
local part = Instance.new("Part")
local properties = getproperties(part)
for property, value in pairs(properties) do
print(property, "=", tostring(value))
endRelated Functions
gethiddenproperties- Get hidden onlygethiddenproperty- Get single hidden property