AcediaDocumentation

setscriptable

Overrides a property's scriptability for an Instance.

Returns the previous effective state, or nil if the property does not exist. The override is per Instance.

setscriptable(target: Instance, property: string, enabled: boolean): boolean?

Parameters

ParameterTypeDescription
targetInstanceInstance to modify.
propertystringProperty name.
enabledbooleanNew scriptability state.

On this page