isscriptable
Returns the scriptable flag.
Syntax
isscriptable(instance: Instance, property: string) -> boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
instance | Instance | The Instance to read from or modify. |
property | string | The property name to access. |
Returns
| Type | Description |
|---|---|
boolean | The scriptable flag |
Description
isscriptable is part of the Reflection library. Reflection walks Roblox's property metadata to read or write values that are normally hidden from scripts.
The call is a predicate: it inspects the current state and returns a boolean without modifying anything.
The aliases is_scriptable resolve to the same implementation.
Example
print(isscriptable(workspace, "Name"))
Notes
- Aliases:
is_scriptable. - Reflection reads live property metadata; hidden-property writes can desynchronise client state.