Yuari
Documentation
Docs/Reflection/getproperties

getproperties

Lists reflected property names.

Syntax

getproperties(instance: Instance) -> table

Parameters

ParameterTypeDescription
instanceInstanceThe Instance to read from or modify.

Returns

TypeDescription
tableThe returned collection or table.

Description

getproperties is part of the Reflection library. Reflection walks Roblox's property metadata to read or write values that are normally hidden from scripts.

The call is read-only: it resolves the current value when invoked and does not change the underlying state.

The aliases get_properties(instance) resolve to the same implementation.

Example

for name, value in pairs(getproperties(workspace)) do
    print(name, value)
end

Notes

  • Aliases: get_properties(instance).
  • Reflection reads live property metadata; hidden-property writes can desynchronise client state.