> ## 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

> Zugriff auf Laufzeitumgebungen und durch Garbage Collection erfasste Objekte.

<div className="real-category-page">
  Zugriff auf Laufzeitumgebungen und durch Garbage Collection erfasste Objekte.

  ## Verfügbare Funktionen

  <CardGroup cols={2}>
    <Card title="filtergc" href="./filtergc">
      Sucht live garbage-collected tables oder functions, die zu den angegebenen filters passen. filterType muss "table" oder "function" sein. options muss eine table sein.
    </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">
      Gibt die current executor environment table zurück, indem LUA\_ENVIRONINDEX gepusht wird. Die function nimmt keine arguments, gibt exactly one value zurück und hat keinen registered alias. Call-sites im repository verwenden die returned table, um shared executor globals wie \_\_siApiCache und saveinstance zu lesen und zu schreiben.
    </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">
      Gibt eine new table zurück, die die current LUA\_GLOBALSINDEX values für \_G und shared enthält. Die function nimmt keine arguments, erstellt eine fresh table, weist \_G aus LUA\_GLOBALSINDEX.\_G und shared aus LUA\_GLOBALSINDEX.shared zu und gibt exactly one value zurück. Sie gibt nicht die full global table zurück, und für getscriptglobals ist kein alias registriert.
    </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>
