Skip to main content

인수

Instance
필수
Instance object whose property should be written. Invalid Instance values raise an argument error.
string
필수
Property name resolved with Roblox property metadata and the Instance class descriptor.
any
필수
Value to write. The accepted value type depends on the resolved reflection type.

반환값

boolean | nil
Boolean equal to !IsScriptable() before a successful write, or nil when no property descriptor exists.

예제

Set a property value even when normal script access is limited.