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

> Atribui value a object[property]. Para Drawing object, usa o mesmo Drawing property assignment de direct property assignment. Unknown Drawing properties sao ignoradas, e destroyed Drawing objects nao sao alterados. O terceiro argumento deve estar presente. the Drawing API registra esta API somente quando the required rendering environment is active e true; quando essa verificacao e false, o initializer retorna antes de criar estes globals.

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

  ## Argumentos

  <ParamField path={"object"} type={"any"} required>
    Valor a indexar e receber a atribuicao. Com Drawing object, o RealDrawingObject \_\_newindex handler e usado.
  </ParamField>

  <ParamField path={"property"} type={"any"} required>
    property key usado para atribuicao. Drawing object properties sao baseadas em strings.
  </ParamField>

  <ParamField path={"value"} type={"any"} required>
    Valor atribuido a object\[property]. Este argumento deve ser fornecido; nil ainda e um valor fornecido.
  </ParamField>

  ## Exemplo

  Atualize uma propriedade de desenho por meio do auxiliar de propriedade genérica.

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

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