---
title: "getrenderproperty"
description: "Reads a drawing property using the same implementation as object indexing."
---

```lua
getrenderproperty(object: DrawingObject, property: string): 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>

---

## Returns

<ResponseField name="result" type="any">
  The any value returned by this operation.
</ResponseField>

Unknown properties return nil. Removed objects normally read nil except their removal methods and __OBJECT_EXISTS.

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

---

## Example

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