Instances

The Instances library provides functions for interacting with game instances in special ways that aren't normally possible.

Overview

These functions allow you to:

  • Clone instance references
  • Fire interaction events
  • Access hidden UI containers
  • Inspect instances in the instance cache

Available Functions

FunctionDescription
clonerefClone an instance reference
compareinstancesCompare two instance references
fireclickdetectorTrigger a ClickDetector
fireproximitypromptTrigger a ProximityPrompt
firetouchinterestTrigger a Touched event
getcallbackmember / getcallbackvalueGet a callback property value
gethuiGet the hidden UI container
getinstancecacheGet all cached instance references
getinstancesGet cached instances
getnilinstancesGet all nil-parented instances
getrendersteppedlistGet RenderStepped connections