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

# getrenderproperty

> Zwraca wynik indeksowania pierwszego argumentu podanym property key. Dla Drawing object uzywa tego samego Drawing property lookup co object[property], wiec unknown properties i destroyed Drawing objects zwracaja nil. the Drawing API rejestruje te API tylko wtedy, gdy the required rendering environment is active ma wartosc true; gdy ten check ma wartosc false, initializer wraca przed utworzeniem tych globals.

<div className="real-function-page">
  ```lua theme={null}
  getrenderproperty(object: any, property: any): any
  ```

  ## Argumenty

  <ParamField path={"object"} type={"any"} required>
    Wartosc do indeksowania. Z Drawing object uzywany jest RealDrawingObject \_\_index handler.
  </ParamField>

  <ParamField path={"property"} type={"any"} required>
    property key uzywany do indeksowania. Drawing object properties sa oparte na strings.
  </ParamField>

  ## Zwroty

  <ResponseField name={"propertyValue"} type={"any"}>
    Wartosc zwrocona przez indeksowanie object za pomoca property, albo nil, gdy Drawing \_\_index handler nie ma wartosci dla tej property.
  </ResponseField>

  ## Przykład

  Read a Drawing property like direct indexing.

  ```lua theme={null}
  local line = Drawing.new("Line")
  line.Thickness = 3

  print(getrenderproperty(line, "Thickness"))
  print(getrenderproperty(line, "MissingProperty"))
  ```
</div>
