Skip to content
Saiko

setrenderproperty

Writes a property on a Drawing object.

Signature

luau
setrenderproperty(drawing: Drawing, property: string, value: any): ()

Parameters

drawingDrawing

The drawing to modify.

propertystring

The property name.

valueany

The value to assign.

Returns

Nothing.

Example

luau
local text = Drawing.new("Text")
setrenderproperty(text, "Text", "Saiko")
setrenderproperty(text, "Visible", true)