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

> يسند value إلى object[property]. بالنسبة إلى Drawing object، يستخدم نفس Drawing property assignment مثل direct property assignment. يتم تجاهل unknown Drawing properties، ولا يتم تغيير destroyed Drawing objects. يجب أن يكون الوسيط الثالث موجودا. يسجل the Drawing API هذه API فقط عندما تكون the required rendering environment is active true؛ عندما يكون هذا الفحص false، يرجع initializer قبل إنشاء هذه globals.

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

  ## الوسائط

  <ParamField path={"object"} type={"any"} required>
    القيمة التي سيتم فهرستها والإسناد إليها. مع Drawing object، يتم استخدام RealDrawingObject \_\_newindex handler.
  </ParamField>

  <ParamField path={"property"} type={"any"} required>
    property key المستخدم للإسناد. خصائص Drawing object تعتمد على strings.
  </ParamField>

  <ParamField path={"value"} type={"any"} required>
    القيمة التي يتم إسنادها إلى object\[property]. يجب تمرير هذا الوسيط؛ nil ما زالت قيمة ممررة.
  </ParamField>

  ## مثال

  قم بتحديث خاصية الرسم من خلال مساعد الخاصية العامة.

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

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