isscriptable
isscriptable
returns whether the given property of an Instance
is scriptable (i.e. it does not have the notscriptable
tag).
If it returns true
, then the property is scriptable and can be indexed normally, and vice versa.
If it returns nil
, then the property provided does not exist.
Parameters
Parameter | Description |
---|---|
object |
The Instance that owns the target property. |
property |
The name of the property to check. |