Aliases
None.Arguments
string
required
One of Line, Text, Circle, Square, Triangle, Quad, or Image.
Returns
DrawingObject
The newly created Drawing userdata. It is initially invisible.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Creates an initially invisible drawing object.
Drawing.new(class: string): DrawingObject
local text = Drawing.new("Text")
text.Text = "Byte docs"
text.Position = Vector2.new(24, 24)
text.Color = Color3.new(1, 1, 1)
text.Visible = true
task.delay(5, function() text:Remove() end)
