Parameters
Drawing
required
A live drawing object.
string
required
The property name.
Returns
any
The property value.
Example
Errors
Related
setrenderproperty: write one.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read a drawing property by name.
getrenderproperty(object: Drawing, property: string) -> any
local color = getrenderproperty(box, "Color")
| Message | Condition |
|---|---|
cannot read a property from a value that is not a drawing object | Argument 1 was not a drawing object. |
the property name to read must be a string | Argument 2 was not a string. |
this userdata is not a live drawing object | The drawing was not live. |
setrenderproperty: write one.