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

> Asigna value a object[property]. Para Drawing object, usa el mismo Drawing property assignment que direct property assignment. Unknown Drawing properties se ignoran y destroyed Drawing objects no se modifican. El tercer argumento debe estar presente. the Drawing API registra esta API solo cuando the required rendering environment is active es true; cuando esa comprobacion es false, el initializer vuelve antes de crear estos globals.

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

  ## Argumentos

  <ParamField path={"object"} type={"any"} required>
    Valor que se indexa y recibe la asignacion. Con Drawing object, se usa el RealDrawingObject \_\_newindex handler.
  </ParamField>

  <ParamField path={"property"} type={"any"} required>
    property key usado para la asignacion. Las Drawing object properties se basan en strings.
  </ParamField>

  <ParamField path={"value"} type={"any"} required>
    Valor asignado a object\[property]. Este argumento debe suministrarse; nil sigue siendo un valor suministrado.
  </ParamField>

  ## Ejemplo

  Actualice una propiedad de dibujo a través del asistente de propiedad 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>
