StartIntroduction
sUNC Reference
Closures
Debug
Drawing
Encoding
Environment
Filesystem
Instances
clonerefcompareinstancesfireclickdetectorfireproximitypromptfiretouchinterestgetcallbackvaluegethuigetinstancesgetnilinstances
Metatable
Miscellaneous
Reflection
Scripts
Signals
WebSocket
Related to sUNC docsOfficial reference
Instancesgetinstances
Instances

getinstances

Retrieves every registry-tracked Instance.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function getinstances(): { Instance }

Returns

A list of tracked Instances.

PreviousgethuiNextgetnilinstances
On this pagesUNC sourceSignatureReturns