StartIntroduction
sUNC Reference
Closures
Debug
Drawing
Encoding
Environment
Filesystem
Instances
Metatable
Miscellaneous
Reflection
gethiddenpropertygetthreadidentityisscriptablesethiddenpropertysetscriptablesetthreadidentity
Scripts
Signals
WebSocket
Related to sUNC docsOfficial reference
Reflectionsetscriptable
Reflection

setscriptable

Changes whether an Instance property is scriptable.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function setscriptable(instance: Instance, property_name: string, state: boolean): boolean | nil
PrevioussethiddenpropertyNextsetthreadidentity
On this pagesUNC sourceSignature