Skip to main content

引数

Instance
必須
Instance object whose property should be read. Invalid Instance values raise an argument error.
string
必須
string property name resolved with Roblox property metadata.

戻り値

any
Property value, or nil as the only return value when no property descriptor exists.
boolean
Second return value equal to !IsScriptable() when a property value is read.

例

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