#
Drawing.new("Line")
📏
Draws a straight line between two points.
#
Key Properties
#
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()