# Drawing.new("Line") 📏

Draws a straight line between two points.

# Key Properties

Property Type Description
From Vector2 The starting screen coordinate (X, Y).
To Vector2 The ending screen coordinate (X, Y).
Thickness number The width of the line in pixels.

# Common Properties

Uses common properties like Visible, Color, Transparency, ZIndex. See Common Properties. (Position and Size are generally not used for Lines).

# Example

local myLine = Drawing.new("Line")
myLine.Visible = true
myLine.From = Vector2(50, 150)
myLine.To = Vector2(250, 200)
myLine.Color = Color3(0, 1, 1) -- Cyan
myLine.Thickness = 3
myLine.ZIndex = 2

-- myLine:Remove()