Skip to content
IonizeDocsionize.cc ↗

API Reference

Reflection Library

Reading and writing properties that are hidden or not normally scriptable.

5 members

gethiddenproperty(object: Instance, property: string): (any, boolean)

Reads a property regardless of visibility.

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

Writes a property regardless of visibility.

isscriptable(object: Instance, property: string): boolean

Returns whether a property is scriptable.

setscriptable(object: Instance, property: string, scriptable: boolean): boolean

Sets whether a property is scriptable.

getproperties(object: Instance): { string }

Returns the property names on an instance.