---
title: "setrenderproperty"
description: "Writes a drawing property using the same implementation as assignment."
---

```lua
setrenderproperty(object: DrawingObject, property: string, value: any): ()
```

---

## Aliases

None.

---

## Arguments

<ParamField body="object" type="DrawingObject" required>
  The Drawing userdata to inspect or modify.
</ParamField>

<ParamField body="property" type="string" required>
  The case-sensitive property name.
</ParamField>

<ParamField body="value" type="any" required>
  The new value for the selected drawing property.
</ParamField>

---

## Returns

This function returns no values.

Unknown/read-only property names are silently ignored. Removed objects ignore assignments.

**Related types:** [Drawing types & behavior](/reference/drawing/types).

---

## Example

```lua
local object = Drawing.new("Text")
setrenderproperty(object, "Text", "Byte")
print(object.Text)
object:Remove()
```
