> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment

> Accès aux environnements d'exécution et aux objets récupérés.

<div className="real-category-page">
  Accès aux environnements d'exécution et aux objets récupérés.

  ## Fonctions disponibles

  <CardGroup cols={2}>
    <Card title="filtergc" href="./filtergc">
      Recherche les tables ou functions live garbage-collected qui correspondent aux filters fournis. filterType doit être "table" ou "function". options doit être une table.
    </Card>

    <Card title="getgc" href="./getgc">
      Returns an array table of live Luau garbage-collected objects visible to the API. Functions and userdata-like objects are included by default. Tables are included only when includeTables is true. get\_gc\_objects is an alias.
    </Card>

    <Card title="getgenv" href="./getgenv">
      Retourne la current executor environment table en poussant LUA\_ENVIRONINDEX. La function ne prend aucun arguments, retourne exactly one value, et n a aucun registered alias. Les call-sites du repository utilisent la returned table pour lire et ecrire des shared executor globals comme \_\_siApiCache et saveinstance.
    </Card>

    <Card title="getrenv" href="./getrenv">
      Returns the Roblox global environment table. The function takes no arguments and returns exactly one value.
    </Card>

    <Card title="getscriptglobals" href="./getscriptglobals">
      Retourne une new table contenant les current LUA\_GLOBALSINDEX values pour \_G et shared. La function ne prend aucun arguments, cree une fresh table, assigne \_G depuis LUA\_GLOBALSINDEX.\_G et shared depuis LUA\_GLOBALSINDEX.shared, puis retourne exactly one value. Elle ne retourne pas la full global table, et aucun alias n est enregistre pour getscriptglobals.
    </Card>

    <Card title="gettenv" href="./gettenv">
      Returns the environment table stored on a Luau thread. getstateenv is an alias.
    </Card>

    <Card title="setclipboard" href="./setclipboard">
      Writes one value to the Windows system clipboard as text. The value is converted to a string. The function returns no status value, whether the clipboard write succeeds or fails. toclipboard is an alias.
    </Card>

    <Card title="setrbxclipboard" href="./setrbxclipboard">
      Writes a required string to the Windows clipboard using Roblox Studio clipboard data format. The function returns no status value, whether the clipboard write succeeds or fails.
    </Card>
  </CardGroup>
</div>
