Skip to content
DrawingOverview

Drawing.Destroy

Removes a retained drawing object.

AliasesDrawing.Remove

Details#

Destroys a retained drawing object using object:Destroy(); Remove is an equivalent object method. Drawing.Destroy is the catalogue name for this method, not a static constructor-table function. This operates on Drawing objects, not Roblox Instances.

Examples#

Example

Luau
local line = Drawing.new("Line")
line:Destroy()