> ## Documentation Index
> Fetch the complete documentation index at: https://docsuncv2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# getrenderproperty

Reads the current value of a property on a drawing object.

```luau theme={null}
getrenderproperty(drawing: DrawingObject, property: string): any
```

This is the function form of just indexing the property (`drawing.Radius`). Use whichever reads cleaner in your code.

## Parameters

| Parameter  | Type            | Description               |
| ---------- | --------------- | ------------------------- |
| `drawing`  | `DrawingObject` | The drawing to read from. |
| `property` | `string`        | The property name.        |

## Returns

`any` - the property's current value. The type depends on the property (a `Vector2` for `Position`, a number for `Radius`, and so on).

## Example

<CodeGroup>
  ```luau Example 1 theme={null}
  <<<<<<< HEAD
  local val = getrenderproperty(Drawing.new("Line"), "Visible")
  =======
  -- getrenderproperty(drawing: DrawingObject, property: string): any
  >>>>>>> 50e30f53759b0538759af25c9b271514aa2c9290
  ```

  ```luau Example 2 theme={null}
  local circle = Drawing.new("Circle")
  circle.Radius = 100

  print(getrenderproperty(circle, "Radius")) --> 100
  ```
</CodeGroup>

<Tip>
  Standard properties include `Color`, `Visible`, `Transparency`, `Position`.
</Tip>
