---
title: "Instances"
description: "Instance discovery, UI roots, and native interactions."
icon: "layers"
---

## Available functions

<div className="byte-function-directory">
<CardGroup cols={2}>
  <Card title="fireclickdetector" href="/reference/instances/fireclickdetector">
    Dispatches one native click/hover event using LocalPlayer.
  </Card>
  <Card title="fireproximityprompt" href="/reference/instances/fireproximityprompt">
    Invokes the native prompt trigger.
  </Card>
  <Card title="firetouchinterest" href="/reference/instances/firetouchinterest">
    Calls the native touch-interest handler with two part primitives.
  </Card>
  <Card title="getcallbackvalue" href="/reference/instances/getcallbackvalue">
    Retrieves a callback from tracked registry state or native callback metadata.
  </Card>
  <Card title="gethui" href="/reference/instances/gethui">
    Returns game.CoreGui as the UI parent.
  </Card>
  <Card title="getinstances" href="/reference/instances/getinstances">
    Enumerates wrappers discoverable through the native instance registry.
  </Card>
  <Card title="getnilinstances" href="/reference/instances/getnilinstances">
    Lists cached instances whose Parent is nil.
  </Card>
  <Card title="getscripthash" href="/reference/instances/getscripthash">
    Returns a hexadecimal SHA384 hash of resolved script bytecode.
  </Card>
  <Card title="saveinstance" href="/reference/instances/saveinstance">
    Writes a limited Luau representation of the current DataModel hierarchy.
  </Card>
</CardGroup>
</div>

[View types and behavior](/reference/instances/types)
