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

# isscriptable

> يتحقق من scriptable flag لخاصية Roblox property على Instance. ترجع function أولا قيمة scriptable مخزنة في cache عندما توجد لنفس instance reference و property name. عند عدم وجود cache، يتم حل property name عبر Roblox property metadata و Instance class descriptor. إذا لم يوجد descriptor، أو كان field المحلول مفقودا أو ليس property entry، ترجع function nil. عندما يتم العثور على property entry، تقرأ scriptable state، وتخزن هذه القيمة في scriptable override cache للـ instance والخاصية، ثم ترجع boolean. لا تغير function قيمة scriptable flag.

<div className="real-function-page">
  ```lua theme={null}
  isscriptable(instance: Instance, property: string): boolean | nil
  ```

  ## الوسائط

  <ParamField path={"instance"} type={"Instance"} required>
    Instance object التي سيتم فحص حالة scriptable للخاصية عليها.
  </ParamField>

  <ParamField path={"property"} type={"string"} required>
    Property name يتم حله عبر Roblox property metadata و Instance class descriptor.
  </ParamField>

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

  <ResponseField name={"scriptable"} type={"boolean | nil"}>
    قيمة scriptable state المخزنة في cache أو الحالية، أو nil عندما يكون property descriptor/field مفقودا أو ليس property entry.
  </ResponseField>

  ## مثال

  Check whether a property is scriptable on an Instance.

  ```lua theme={null}
  local scriptable = isscriptable(workspace, "Name")
  print(scriptable)
  ```
</div>
