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

> ترجع array table جديدة تحتوي على كل object value مخزنة حاليا في Instance cache. لا تأخذ function أي arguments. لا تقوم بالتصفية حسب Parent أو ClassName أو DataModel fieldship أو nil-parent state أو Instance validity باستثناء التحقق من أن كل registry value هو object. يتم نسخ entries إلى الجدول المرجع عند sequential numeric indexes تبدأ من 1. يأتي iteration order من table iteration على cache ولا يتم فرزه بواسطة function.

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

  ## القيم الراجعة

  <ResponseField name={"instances"} type={"{ Instance }"}>
    Array table من object values المنسوخة من Instance cache table.
  </ResponseField>
</div>
