setrenderproperty
Dynamically set a named property on a Drawing object.
function setrenderproperty(drawingdrawingDrawingA valid Drawing object.: Drawing, propertypropertystringThe name of the property to assign.: string, valuevalueanyThe value to assign to the property.: any): ()Usage
Set Circle properties with dynamic keys
local circle = Drawing.new("Circle")
setrenderproperty(circle, "Radius", 75)
setrenderproperty(circle, "Visible", true)
setrenderproperty(circle, "Color", Color3.fromRGB(255, 0, 0))
print(circle.Radius) -- 75
print(circle.Visible) -- true