Skip to content
ReflectionOverview

getproperties

Represents enumeration of object properties.

Aliasesget_properties

Details#

Returns available named properties of an Instance in a table. Property availability varies by class and runtime; the values are not a deep object clone.

Examples#

Example

Luau
local part = Instance.new("Part")
local properties = getproperties(part)
print(type(properties), properties.Name)
part:Destroy()