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

# getgenv

> LUA_ENVIRONINDEX push ederek current executor environment table dondurur. Function arguments almaz, exactly one value dondurur ve registered alias yoktur. Repository icindeki call-sites returned table kullanarak __siApiCache ve saveinstance gibi shared executor globals degerlerini okur ve yazar.

<div className="real-function-page">
  ```lua theme={null}
  getgenv(): table
  ```

  ## Dönüşler

  <ResponseField name={"environment"} type={"table"}>
    Bu state icin su anda LUA\_ENVIRONINDEX konumunda saklanan table.
  </ResponseField>

  ## Örnek

  Read and write values on the current executor environment table.

  ```lua theme={null}
  local env = getgenv()

  env.RealDocsValue = "ready"

  print(getgenv().RealDocsValue)
  ```
</div>
