DrawingOverview
Drawing.new
Creates a retained drawing object.
Details#
Creates a retained drawing object for a supported type such as Line, Circle, Square or Text. Set its properties and Visible to display it; call Remove when finished. Unsupported type names raise an error.
Examples#
Example
local text = Drawing.new("Text")
text.Text = "EXOL"
text.Position = Vector2.new(100, 100)
text.Color = Color3.new(1, 1, 1)
text.Visible = true
task.delay(1, function() text:Remove() end)