drawing.Radius = 50). Handy when the property name is dynamic.
Parameters
Returns
void
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
setrenderproperty(drawing: DrawingObject, property: string, value: any): ()
drawing.Radius = 50). Handy when the property name is dynamic.
| Parameter | Type | Description |
|---|---|---|
drawing | DrawingObject | The drawing to change. |
property | string | The property name, like "Position" or "Color". |
value | any | The new value. Use the type that property expects. |
void
setrenderproperty(Drawing.new("Line"), "Visible", true)
local text = Drawing.new("Text")
setrenderproperty(text, "Text", "Hello, World!")
setrenderproperty(text, "Size", 24)
setrenderproperty(text, "Position", Vector2.new(100, 100))
setrenderproperty(text, "Visible", true)