ReflectionOverview
sethiddenprop
Represents modification of a hidden property.
Aliases
set_hidden_propset_hidden_propertysethiddenpropertyDetails#
Writes an Instance property through the module's property access facility. gethiddenprop can be used to inspect the original value; pass a replacement of the property's expected type. sethiddenproperty is an alias.
Examples#
Example
local part = Instance.new("Part")
local ok, err = pcall(sethiddenprop, part, "Name", "DocsExample")
print(ok, err)
part:Destroy()