AcediaDocumentation

sethiddenproperty

Writes a property through the hidden-property path.

Returns whether the property is hidden. Engine property validation can still reject the value.

sethiddenproperty(target: Instance, property: string, value: any): boolean

Parameters

ParameterTypeDescription
targetInstanceInstance to modify.
propertystringProperty name.
valueanyReplacement value accepted by the property.

Errors: Nonexistent members and failed property writes raise errors.

On this page