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

> Gan value vao object[property]. Voi Drawing object, ham dung cung Drawing property assignment nhu direct property assignment. Unknown Drawing properties bi bo qua va destroyed Drawing objects khong bi thay doi. Doi so thu ba phai duoc cung cap. the Drawing API chi dang ky API nay khi the required rendering environment is active la true; khi kiem tra do la false, initializer quay lai truoc khi tao cac globals nay.

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

  ## Đối số

  <ParamField path={"object"} type={"any"} required>
    Gia tri can index va gan vao. Voi Drawing object, RealDrawingObject \_\_newindex handler duoc su dung.
  </ParamField>

  <ParamField path={"property"} type={"any"} required>
    property key duoc dung de assignment. Drawing object properties dua tren strings.
  </ParamField>

  <ParamField path={"value"} type={"any"} required>
    Gia tri duoc gan vao object\[property]. Doi so nay phai duoc truyen; nil van la mot gia tri da truyen.
  </ParamField>

  ## Ví dụ

  Cập nhật thuộc tính bản vẽ thông qua trình trợ giúp thuộc tính chung.

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

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