> ## 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.

# setrenderproperty

> Przypisuje value do object[property]. Dla Drawing object uzywa tego samego Drawing property assignment co direct property assignment. Unknown Drawing properties sa ignorowane, a destroyed Drawing objects nie sa zmieniane. Trzeci argument musi byc podany. 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}
  setrenderproperty(object: any, property: any, value: any)
  ```

  ## Argumenty

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

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

  <ParamField path={"value"} type={"any"} required>
    Wartosc przypisywana do object\[property]. Ten argument musi byc dostarczony; nil nadal jest dostarczona wartoscia.
  </ParamField>

  ## Przykład

  Zaktualizuj właściwość rysunku za pomocą pomocnika właściwości ogólnych.

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

  print(line.Thickness)
  print(line.Visible)
  ```
</div>
