sethiddenproperty
Avoid relying on setscriptable to implement this function
Some executors implement this function using setscriptable, which is limited and/or detectable.
sethiddenproperty assigns a value to a hidden or non-scriptable property of an Instance, even if that property is inaccessible.
It returns true if the property is hidden and was successfully written to, or false if the property wasn't hidden but was still updated.
Parameters
| Parameter | Description |
|---|---|
instance |
The instance that owns the target property. |
property_name |
The name of the property to update. |
property_value |
The new value to assign to the property. |