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

> Instance의 Roblox property에 대한 scriptable flag를 확인합니다. 이 function은 같은 instance reference와 property name에 대해 cached scriptable value가 있으면 먼저 그 값을 반환합니다. cache miss이면 property name을 Roblox property metadata 및 Instance class descriptor로 해석합니다. descriptor가 없거나 해석된 field가 없거나 property entry가 아니면 function은 nil을 반환합니다. property entry를 찾으면 scriptable state을 읽고 그 값을 instance와 property의 scriptable override cache에 저장한 뒤 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>
    property scriptable state를 확인할 Instance object.
  </ParamField>

  <ParamField path={"property"} type={"string"} required>
    Roblox property metadata 및 Instance class descriptor로 해석되는 property name.
  </ParamField>

  ## 반환값

  <ResponseField name={"scriptable"} type={"boolean | nil"}>
    cached 또는 현재 scriptable state 값입니다. property descriptor/field가 없거나 property entry가 아니면 nil입니다.
  </ResponseField>

  ## 예제

  Check whether a property is scriptable on an Instance.

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