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

> Instance cache に現在保存されているすべての object value を含む新しい array table を返します。この function は arguments を取りません。各 registry value が object であること以外、Parent、ClassName、DataModel fieldship、nil-parent state、Instance validity ではフィルタしません。entries は 1 から始まる sequential numeric indexes にコピーされます。iteration order は cache に対する table iteration から来ており、function はソートしません。

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

  ## 戻り値

  <ResponseField name={"instances"} type={"{ Instance }"}>
    Instance cache table からコピーされた object values の array table。
  </ResponseField>
</div>
