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

# getinstances

> Gibt eine neue array table zurueck, die jeden object value enthaelt, der aktuell in der Instance cache gespeichert ist. Die function nimmt keine arguments. Sie filtert nicht nach Parent, ClassName, DataModel fieldship, nil-parent state oder Instance validity, ausser dass jeder registry value object sein muss. Entries werden in die zurueckgegebene Tabelle an sequential numeric indexes ab 1 kopiert. Die iteration order kommt von table iteration ueber die cache und wird von der function nicht sortiert.

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

  ## Rückgaben

  <ResponseField name={"instances"} type={"{ Instance }"}>
    Array table aus object values, die aus der Instance cache table kopiert wurden.
  </ResponseField>
</div>
