Skip to content
Saiko

isscriptable

Returns true when a property is currently readable and writable from a script.

Signature

luau
isscriptable(instance: Instance, property: string): boolean

Parameters

instanceInstance

The instance to inspect.

propertystring

The property name.

Returns

boolean

Example

luau
print(isscriptable(workspace, "Name")) --> true
print(isscriptable(workspace, "PhysicsSteppingMethod")) --> depends on the property