Parameters
Returns
{ [string]: any } - A dictionary mapping property names to values.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getproperties(instance: Instance): { [string]: any }
| Parameter | Type | Description |
|---|---|---|
instance | Instance | The target Instance. |
{ [string]: any } - A dictionary mapping property names to values.
local props = getproperties(workspace.Part)
print("Part color: ", props.Color)
for name, value in pairs(getproperties(game:GetService("Lighting"))) do
print(name, " = ", value)
end