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

> Assigne value a object[property]. Pour Drawing object, cela utilise le meme Drawing property assignment que direct property assignment. Les unknown Drawing properties sont ignorees et les destroyed Drawing objects ne sont pas modifies. Le troisieme argument doit etre present. the Drawing API enregistre cette API uniquement quand the required rendering environment is active vaut true; quand cette verification vaut false, l initializer retourne avant de creer ces globals.

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

  ## Arguments

  <ParamField path={"object"} type={"any"} required>
    Valeur indexee et assignee. Avec Drawing object, le RealDrawingObject \_\_newindex handler est utilise.
  </ParamField>

  <ParamField path={"property"} type={"any"} required>
    property key utilise pour l assignation. Les Drawing object properties sont basees sur des strings.
  </ParamField>

  <ParamField path={"value"} type={"any"} required>
    Valeur assignee a object\[property]. Cet argument doit etre fourni; nil reste une valeur fournie.
  </ParamField>

  ## Exemple

  Mettez à jour une propriété de dessin with l'assistant de propriété générique.

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

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