Skip to content
InstancesOverview

getinstancecache

Provides an inventory of cached object references.

Details#

Returns the available object-reference cache view. Cache keys are runtime-specific; this is not the list of descendants of a particular Instance and should not be treated as a persistent object index.

Examples#

Example

Luau
local cacheView = getinstancecache()
print(type(cacheView))