ReflectionOverview
getproperties
Represents enumeration of object properties.
Aliases
get_propertiesDetails#
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
local part = Instance.new("Part")
local properties = getproperties(part)
print(type(properties), properties.Name)
part:Destroy()