AcediaDocumentation

Drawing objects

Shared properties and lifetime of retained drawings.

Create an object with Drawing.new. Each object is an executor handle table, not a Roblox Instance.

Shared properties

MemberType / signatureMeaning
VisiblebooleanWhether the renderer draws the object.
ZIndexnumberDraw ordering.
TransparencynumberOpacity: 0 invisible, 1 opaque. Clamped to that range.
ColorColor3Object color.
ThicknessnumberStroke thickness for applicable primitives.
__OBJECT_EXISTSbooleanReadonly renderer-lifetime indicator.

Lifetime

local object = Drawing.new("Line")
object.From = Vector2.new(20, 20)
object.To = Vector2.new(100, 20)
object.Visible = true
object:Remove()

Remove() and Destroy() are aliases that retire the drawing. cleardrawcache removes every drawing. The renderer pool holds 1,024 drawings; do not retain stale handles across a teleport or reuse a removed handle.

Classes

On this page