Reads a property even when the engine marks it non-scriptable, returning the value together with a boolean that is true when the property was hidden. For an ordinary scriptable property the boolean is false and the value matches a normal read.

Parameters

Instance
required
The instance to read from.
string
required
The property name.

Returns

any
The property value, followed by a boolean that is true when the property was hidden.

Example