AcediaDocumentation

Line drawing

Properties for Drawing.new("Line").

Inherits the shared drawing properties.

Properties

MemberType / signatureMeaning
FromVector2Starting point.
ToVector2Ending point.

Example

local object = Drawing.new("Line")
object.From = Vector2.new(20, 20)
object.To = Vector2.new(100, 20)
object.Color = Color3.new(1, 1, 1)
object.Visible = true
object:Remove()

Property writes require the matching types. TextBounds and __OBJECT_EXISTS are readonly.

On this page