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

> Sprawdza scriptable flag dla Roblox property na Instance. Function najpierw zwraca wartosc scriptable z cache, gdy istnieje dla tego samego instance reference i property name. Przy cache miss property name jest rozwiazywana przez Roblox property metadata i Instance class descriptor. Jesli descriptor nie istnieje albo rozwiazany field nie istnieje lub nie jest property entry, function zwraca nil. Gdy property entry zostanie znaleziona, function odczytuje scriptable state, zapisuje te wartosc w scriptable override cache dla instance i property, a potem zwraca boolean. Function nie zmienia scriptable flag.

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

  ## Argumenty

  <ParamField path={"instance"} type={"Instance"} required>
    Instance object, dla ktorej ma zostac sprawdzony property scriptable state.
  </ParamField>

  <ParamField path={"property"} type={"string"} required>
    Property name rozwiazywana przez Roblox property metadata i Instance class descriptor.
  </ParamField>

  ## Zwroty

  <ResponseField name={"scriptable"} type={"boolean | nil"}>
    Wartosc scriptable state z cache albo aktualna, lub nil, gdy property descriptor/field nie istnieje albo nie jest property entry.
  </ResponseField>

  ## Przykład

  Check whether a property is scriptable on an Instance.

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