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

Instances

Enumerate, reference, inspect and interact with Roblox Instances.

Related to sUNC documentation

This reference is based exclusively on the official sUNC documentation.

Overview

  • Instance APIs expose references tracked by the runtime and selected client interactions.
  • Cloned references can be compared with `compareinstances`.

Available functions

clonerefCreates a safe reference clone for an Instance.compareinstancesChecks whether two references represent the same Instance.fireclickdetectorTriggers a ClickDetector event.fireproximitypromptTriggers a ProximityPrompt.firetouchinterestSimulates touch start or touch end between two parts.getcallbackvalueReads a callback property from an Instance.gethuiRetrieves the hidden UI container.getinstancesRetrieves every registry-tracked Instance.getnilinstancesRetrieves unparented Instances that remain in memory.
PreviouswritefileNextcloneref
On this pagesUNC sourceOverviewAvailable functions