> ## 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 сначала возвращает cached scriptable value, если он есть для того же instance reference и property name. При cache miss property name разрешается через Roblox property metadata и Instance class descriptor. Если descriptor отсутствует, либо найденный field отсутствует или не является property entry, function возвращает nil. Когда property entry найдена, function читает scriptable state, сохраняет это значение в scriptable override cache для instance и property, затем возвращает 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, у которой нужно проверить property scriptable state.
  </ParamField>

  <ParamField path={"property"} type={"string"} required>
    Property name, разрешаемый через Roblox property metadata и Instance class descriptor.
  </ParamField>

  ## Возвраты

  <ResponseField name={"scriptable"} type={"boolean | nil"}>
    Cached или текущее значение scriptable state, либо 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>
